2xxindicates success4xxindicates an error that failed given the information provided5xxindicates an error with our servers
Error Response Formats
WebLinq uses two different error response formats depending on the type of error:Validation Errors (422 Unprocessable Entity)
When request validation fails, you’ll receive a detailed error response with specific field-level issues:Validation Error Format
Other Errors (401, 404, 500, etc.)
For authentication, authorization, not found, and server errors, you’ll receive a simpler format:Simple Error Format
Common HTTP Status Codes
200 OK
Request succeeded. The response will contain the requested data.401 Unauthorized
Authentication required. You need to provide a valid API key. Example Response:404 Not Found
The requested resource doesn’t exist. Example Response:422 Unprocessable Entity
Request validation failed. Check theissues array for specific field errors.
Example Response:
429 Too Many Requests
Rate limit exceeded. Wait before making more requests. Example Response:500 Internal Server Error
Something went wrong on our end. Try again later. Example Response:Error Handling Best Practices
1. Always Check the success Field
2. Handle Validation Errors Specifically
Need Help?
If you encounter persistent errors, please contact our support team with:- The HTTP status code
- The complete error response
- Your request payload (without sensitive data)
- The timestamp when the error occurred
Get Support
Contact our support team for assistance
