React Starter Kit - cannot make API requests in production

I have a custom API endpoint that makes a request to instagram to download an instagram page's JSON and then render posts.

this works in development, however, in production I get the error

POST https://my-heroku-siteURL.herokuapp.com/api/instagram 503 (Service Unavailable)

I am curious about how to debug this? I cannot replicate when I run a production build in my local server

Upvotes: 0

Views: 59

Answers (0)

Related Questions