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
1
Check API Key
Verify your API key is correct and has the necessary permissions for the requested resource.
2
Validate Request Data
Ensure all required fields are present and data formats are correct according to the API specification.
3
Check Rate Limits
Verify you haven’t exceeded the 1000 requests per hour limit. Check rate limit headers in responses.
4
Verify Resource IDs
Confirm that location IDs and whitelist IDs are valid and exist in your account.
5
Test Network Connectivity
Ensure your application can reach the API endpoints and there are no firewall or network issues.

