Strapi admin media library upload error

I was successfully uploading pdf files and images until i started messing around with plugin.js adding upload sizelimit, i think this might causes the error when trying to upload pdf files or images lately. I would really appreciate any solution to this. Thank you

I fixed my error, so i hosted my strapi api on Apache HTTP Server, some how my error was fixed when i stop the apache http server and run the strapi api locally