Skip to main content

Error Handling

The Okasie Partner API uses standard HTTP status codes and provides structured error responses.

Error Response Format

All errors follow a consistent format:
For validation errors, additional details are provided:

HTTP Status Codes

Error Codes Reference

Authentication Errors

Validation Errors

Resource Errors

Rate Limiting

Bulk Operations

Handling Errors in Code

Request ID for Support

Every response includes a request ID in the header or response. Include this when contacting support:
Log the X-Request-Id for all failed requests to help with debugging.

Next Steps

Rate Limiting

Handle rate limits gracefully

API Reference

Explore all endpoints