I just want to clarify regarding the status code in case if there is invalid data in the database.
E.g. If something changed in the data base which cause error when call the GET end point. For instance lets assume in the database there is column to store json as a string. If the format has been changed.
Following link was there, but it specifically discussing about the incorrect input data