Error Handling
Overview
Response Format
Success Response
{
"success": true,
"data": {
// Response data
}
}Error Response
{
"success": false,
"message": "Human-readable error message",
"error": {
// Optional additional error details
}
}HTTP Status Codes
Status Code
Meaning
Common Causes
Common Error Responses
Authentication Errors
Mint API Errors
Burn API Errors
Order API Errors
Validation Errors
Error Handling Best Practices
1. Implement Retry Logic
2. Handle Token Expiration
3. Validate Before Sending
4. Log Errors Properly
5. Graceful Degradation
Rate Limiting
Support and Troubleshooting
Next Steps
Last updated