added error responses for /db