Document API error codes and troubleshooting guidance
Create comprehensive error code documentation for:
**API/Service Name:** {{API_NAME}}
**Error Codes:**
{{ERROR_CODES}}
Generate detailed error documentation including:
## Error Code Reference
For each error code:
### Error: {{ERROR_CODE}}
**HTTP Status:** {{STATUS_CODE}}
**Error Name:** {{ERROR_NAME}}
**Description:**
Clear explanation of what this error means
**Common Causes:**
1. Cause 1
2. Cause 2
3. Cause 3
**Example Response:**
```json
{
"error": {
"code": "{{ERROR_CODE}}",
"message": "Human readable message",
"details": {}
}
}
```
**Resolution Steps:**
1. Step 1 to fix
2. Step 2 to fix
3. Step 3 to fix
**Related Errors:**
- Related error codes that might also occur
---
## Error Handling Best Practices
### Client-Side Handling
- Recommended error handling patterns
- Retry strategies
- User-facing messages
### Error Response Format
- Standard error schema
- Field descriptions
## Quick Reference Table
| Code | Name | Status | Description |
|------|------|--------|-------------|
## Getting Help
- Support channels
- Information to include when reporting issuesOr press ⌘C to copy
Replace these placeholders with your own content before using the prompt.
[{API_NAME][{ERROR_CODES][{ERROR_CODE][{STATUS_CODE][{ERROR_NAME]{
"error": {
"code": "{{ERROR_CODE}