Errors without an explicit status code with the error message containing 'does not exist' were assigned codes 404 or 403. Now if the error message is 'function X does not exist' (originated in SQL) the error code assigned is 400.