add detailed error responses