Error Handling
Understanding and handling errors in the Responses API
Error Response Format
{
"error": {
"code": "invalid_prompt",
"message": "Detailed error description"
},
"metadata": null
}Error Codes
Code
Description
Equivalent HTTP Status
Last updated