Request Entity Too Large when uploading image to media library on Strapi

Posted August 8, 2020 2.4k views
Linux BasicsAPI

I deployed strapi to digital ocean using the one-click guide ( Everything works fine, but when i try to upload an image to the media library i always get the message (Request Entity Too Large).

I tried:

  • Going to plugins and upload with no success since there is no such plugin available with that name (the only ones are CONTENT MANAGER, CONTENT TYPE BUILDER, EMAIL, MEDIA LIBRARY, ROLES & PERMISSIONS.

  • Going to the console and trying to change strapi configs, but i cant access with sudo since all the passwords i try are incorrect (i used all of them, none work)

I am now clueless of what i am suposed to do.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer
Show answer This answer has been marked as resolved by jeremy21.