'FormData submit NodeJS returns 503 unavailable

I'm trying to deploy my application to Heroku (as usual) and I keep getting 503 Service Unavailable when trying to upload anything through my router handler (Multer)!

it's not related to any packages since I tried different projects with and without multer and the same return



Solution 1:[1]

Hi @Mahmoud Nasr,
Kindly run the nodejs code locally in system and check for any issues.

If it works then the issue is with Heroku server configurations or the server is not available.

If it not working in local in the first place kindly update the snippet, let's figure it out.

Regards,
Muhamed

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Muhamed Salih