Error Response Format
All API endpoints return consistent error responses with the following structure:Common Error Codes
Authentication Errors
Invalid API Key
Missing API Key
Validation Errors
Invalid Plate Format
Missing Required Fields
Resource Not Found Errors
Invalid Location ID
Location Update Errors
When updating locations, you may encounter specific errors:Invalid Whitelist ID
Duplicate Vehicle Errors
Rate Limiting Errors
Network Errors
Connection Timeout
Comprehensive Error Handler
Complete Error Handler Implementation
Complete Error Handler Implementation
Implement a comprehensive error handler for all scenarios:
Troubleshooting Checklist
Check API Key
Verify your API key is correct and has the necessary permissions for the requested resource.
Validate Request Data
Ensure all required fields are present and data formats are correct according to the API specification.
Check Rate Limits
Verify you haven’t exceeded the 1000 requests per hour limit. Check rate limit headers in responses.
Verify Resource IDs
Confirm that location IDs and whitelist IDs are valid and exist in your account.
Getting Help
Contact Support
Get help with specific error scenarios and troubleshooting.
API Status
Check API status and known issues.

