Errors
Zeeh uses conventional HTTP response codes to indicate the success or failure of an API request. In general: Codes in the 2xx
range indicate success. Codes in the 4xx range indicate an error that failed given the information provided (e.g., a required parameter was omitted etc.). Codes in the 5xx range indicate an error with our servers (these are rare).
Error 🚦 | What |
---|---|
400 - Bad Request | The request was unacceptable, often due to missing a required parameter OR not having the required key. |
401 - Unauthenticated | User have not been authenticated. |
403 - Unauthorized | The User does not have permissions to perform the request. |
404 - Not Found | The requested resource does not exist. |
CustomError | Publickey not provided OR confilcts of information. |
500, 502, 503, 504 - Server Errors | Something went wrong on Zeeh end. (These are rare.) |
200 - OK | Everything worked as expected 😊 |