Need Help Understanding Why GET Method Not Returning from the Database

Greetings,

I recently deployed a spring Boot Application to Render with a connected Database on AWS. But Surprisingly, every other thing works perfectly but I have an issue with a GET Method, the GET method should return a list of objects from the database but only returns an empty list when queried from using the deployed URL. On the contrary, when I connect the same database to my Spring Boot Application on my localhost, It returns the whole list from the Database.

I really don’t know where the issue is coming from as it seems all fine from my localhost.

Thanks…
Daniel…

Hi,

The best place to start would be your logs. If you’re not seeing anything obvious, maybe add some more logging around the area that’s having the problem to ensure values are set/returning as expected, etc.

Alan

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