503 service unavailable
Hi, I am using multer and cloudinary in my node.js app. I get a error in production as
"the server responded with a status of 503 (Service Unavailable)"
It works fine in local development but not when i deployed in heroku. I have already put environment variables in heroku too.
Config file
-
Hi Saral,
Would you mind trying setting the environment variables (e.g., process.env.CLOUD_NAME) on the Heroku config vars as well?
Alternatively, the more recommended approach would be to set the CLOUDINARY_URL environment variable, then you won't need to explicitly declare them on cloudinary.config().
Can you please let me know if that helps?0 -
I have already added env variables in heroku. I see,you have also answered my question in stack overflow.
I dont know it is not working.
0 -
Hi Saral,
Can you share your cloud name so we can try to see the logs internally?
If you don't feel comfortable sharing your cloud name publicly, feel free to open a ticket on our portal: https://support.cloudinary.com/hc/en-us/requests/new0
Post is closed for comments.
Comments
3 comments