Unable to access data returned from deployed server on react client side.
joseph-kdev
TRIALOP

2 years ago

Hello,

I deployed my express and node server side code on railway for a fullstack project I was working on. The server-side basically fetches rss feeds and passes them on to the client-side for display. The deployment worked and when I even tested the endpoints with postman everything worked great. This are the endpoints tested:

https://know-production.up.railway.app/api/articles

and

https://know-production.up.railway.app/api/news

The issue now is when I use this endpoints in my client-side I am receiving an error 500 every time.

I need help.

Solved

2 Replies

2 years ago

Both of these links work for me, Can you link to a frontend URL where I could see the error?


joseph-kdev
TRIALOP

2 years ago

Appreciate the response, I already resolved this already.Forgot to end this thread. It was an issue with the Firebase SDK credentials in my code. It's all good now though.


Status changed to Solved brody • about 2 years ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...