No data fetched or shown

Static site and web service are both live but no data fetched. No data is shown by using the link for backend which is (https://myyad2.onrender.com/api/carData). Error message “Cannot GET /api/cars”. Actually by localhost i receive data in browser.

update: can get data in browser by using https://myyad2.onrender.com/api/cars. Still web service not connected to the static site. Static site is live and shown in the browser. Site is still without data.

Hi,

There will always be differences between environments development mode/Local, production mode/Render, etc. These differences need to be considered and configured as required for your own app in each environment.

It’s tough to make any suggestions without any real details. Maybe check your service logs, browser console, etc. to see if there are any errors/messages that may help you pinpoint the issue.

If you’re still having trouble after that, share some specific details of the issue you are experiencing that may help the community troubleshoot it with you, e.g. any logs/errors/output, specific URLs, service name/ID, reproduction steps, etc.

If you don’t want to share these details on the community forum, please feel free to raise a ticket from the “Help” or “Contact Support” links while logged into the Dashboard.

Alan

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