I am using REST and i request an object however if the data does not exist in the database it throws an internal server error 500. If the data is present in database it all