Getting 500 respons

I ran the ./setup_mongo_debug.sh.
When I do the get request in postman , I get 500 response code

hello @vishruth
as you can see in the stacktrace there is nullpointer exception in the restaurantrepositoryServiceImpl.java
Which means there is a unexpected null value in your file. please do debug your code.

Resolved the NPE and you will get the response in postman.

@Anmol-Crio_TA @Nabhan-CrioTA I have done the necessary changes.
When I restart the workspace, if i do get request I get:
restaurants: []
When I run ./setup_mongo_debug.sh I get the same error

Closing this topic as your issue is resolved by the mentor. If it is still not resolved, Kindly un-mark the accepted solution or create a new topic and post this question as a reference link in the description of the new topic.