Strapi Media Library not working

System Information
  • Strapi Version: v4.13.4
  • Operating System: Windows 10
  • Database: -
  • Node Version: v16.18.0
  • NPM Version: v9.8.1
  • Yarn Version: -

Hi everyone, having a bit of an issue with the Strapi media library. I’m new to strapi and recently I was just testing some content-media types, had two images uploaded locally and wanted to add some more, but everytime I try to add another media content I get the “Whoops, something went wrong! please, try again.” message, as well as if I actually try to go to the media library section, I am met with a blank white page, with the console displaying the error: Uncaught TypeError: Failed to construct ‘URL’: Invalid base URL

I’ve seen other posts regarding this but didn’t seem to help with much answers. I even tried asking chatgpt and no luck there. Any ideas? At this point I might just scrap the backend and start from scratch, the progress was negligible so it’s not too much of a concern to me :slight_smile:

I managed to resolve this issue just now by :
I have updated my Strapi from v4.13.4 to the latest v4.13.7.
Performed the following

rm -rf node_modules 
rm -rf dist
rm -rf ./cache
yarn
yarn build
yarn develop

The problem seems to have been resolved