Mongodb connection success in backend web service but cannot fetch data from mongodb tables

Hello, I am having trouble running my MERN app properly.

I created a new Web Service for the backend, and a new Static Site for the frontend. I set the environment variables as well. Backend log showing mongoDB connection Success,
However, fetching data from database(MongoDB) fails.
I am using React and Redux for frontend.

If anybody has the similar issue and solved it, please let me know the tip.
Thank you!

1 Like


Are you able to share the specific error message you’re getting when attempting to fetch from your database? It may help to add additional logging to your service for debugging purposes. If your database is hosted outside Render, you may also want to confirm that any allowlists have been updated accordingly.


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.