Jump to
Error handling
Complete guide to error responses and how to handle them in the Vectorly API.
HTTP status codes
| Status Code | Meaning | Description |
|---|---|---|
200 | OK | Request succeeded |
400 | Bad Request | Invalid parameters or request format |
401 | Unauthorized | Invalid or missing service token |
403 | Forbidden | Access denied to resource |
404 | Not Found | Routine or resource not found |
500 | Internal Server Error | Server error during execution |
Error response format
All error responses follow this format:
JSON
Common errors
400 Bad Request
Invalid parameters
JSON
Missing required parameters
JSON
401 Unauthorized
The API does not reveal specific reasons for authentication failure to prevent information leakage.
JSON
Note: Error message may still say "API key" for compatibility
403 Forbidden
JSON
404 Not Found
JSON
500 Internal Server Error
JSON
Handling errors
Python example
Python