Comment on page
Hakuna uses conventional HTTP status codes to indicate the success or failure of an API request. Codes in the
2XXrange indicate a successful request, and codes in the
4XXrange indicate a failed request, typically due to invalid inputs or operations.
Here's a summary of the HTTP status codes you could receive from the Hakuna API:
When an unsuccessful request occurs, you will receive a payload in the following format:
All error payloads will contain a unique
error_codewhich you can use to identify the error. In case of a badly formed request, Hakuna will also return additional