DokployD
Dokploy11mo ago
4 replies
Sapwavino

Uploading file to Directus fails with 502 error

I can upload smaller (kilobytes) files like small images, etc. However trying to upload an mp3 that's around 5.2mb keeps failing with this error and these are my logs so far. I have added MAX_PAYLOAD_SIZE=50mb to my environment and deployed again to no avail. What am i missing? Thanks for the help in advance.

PS: The errors in the log are from my attempts to delete partial uploads so any help with that will also be greatly appreciated
Screenshot_2025-03-14_at_13.36.55.png
Screenshot_2025-03-14_at_13.38.15.png
Was this page helpful?