Macademia Tree logo Macademia Tree
Sign In

Errors

The API uses conventional HTTP response codes to indicate success or failure.

HTTP Status Codes

200 Success - Request completed successfully
401 Unauthorized - Invalid or missing API key
403 Forbidden - Request blocked (revoked key)
404 Not Found - Resource doesn't exist for the given slug
429 Too Many Requests - Rate limit exceeded
500 Internal Server Error - Something went wrong on our end

Error Response Format

All errors return a JSON object with an error field:

Error Response
{
  "error": "Rate limit exceeded. Retry after 60 seconds."
}