Put only queries as the body of error response