HTTP Status Codes
Error Response Format
All error responses follow a consistent format:Common Error Scenarios
400 Bad Request
- Invalid parameters: Missing required fields, invalid formats
- Unsupported combinations: Token/currency pairs not supported
- Amount validation: Amounts outside provider limits
- Provider issues: Provider not found or misconfigured
503 Service Unavailable
- No provider available: When no providers can handle the specific request
- Service temporarily unavailable: During maintenance or high load
- Geographic restrictions: Service not available in your region
Handling Service Unavailability
When you receive a 503 error:- Check request parameters: Verify token, amount, and currency combinations
- Try different amounts: Some providers have minimum/maximum limits
- Retry later: Provider availability may change over time
- Contact support: If the issue persists, reach out to our team
Getting Help
If you’re experiencing persistent errors:- Check the error response for specific details
- Review our documentation for endpoint requirements
- Join our developer community on Telegram
- Contact support at [email protected]
- Report issues on GitHub
When reporting errors, please include the complete error response, request details, and your API key (with sensitive parts redacted).