DEV Community

Discussion on: Hosting an App with Heroku and Netlify (if you've never done it before)

Collapse
 
anishjana profile image
anishjana

Hi Linda,

Thank you for the thorough blog.

However I am facing an issue. I am making an API call to an URL from my node.js, which is hosted on Heroku. I am expected to get a JSON response. However the logs show permission denied to the URL with 403 status.

I have even set Access-control allow Origin: * but in vain.

Can you help me !

Collapse
 
lindakatcodes profile image
Linda Thompson

Hi anishjana -

Do you have your code somewhere so I can look at it? That sounds like something is definitely stopping it from being able to connect, but without seeing anything it's hard to say what might be causing it. I'll be happy to help if I can!