Generate an API error code reference
Generate an error code reference table grouped by category (auth, validation, server) with HTTP status, message, likely cause, and developer fix for each code.
Preview
Copy prompt
Generate a comprehensive API error code reference for [API Name]. For each error code document: the HTTP status code, the machine-readable error code string as it appears in the response body, the human-readable error message, the most common cause of this error, and the recommended action a developer should take to resolve it. Format the reference as a Markdown table. Group error codes into logical sections: authentication errors, validation errors, resource errors, and server errors.
More
Documentation
Prompts
