Skip to main content

Error codes

All Kynasmith API errors follow a consistent envelope:
  • code — A machine-readable string identifying the error type.
  • message — A human-readable explanation. Do not parse this programmatically.
  • retryable — Whether the request can be retried without changes.
  • details — Additional structured context (varies by error code).

General API errors

MoveSpec errors

Detection session errors

Billing and quota errors

These errors are returned when operations are denied due to billing or plan limits.

Billing error response example

Distinguishing rate limits from billing errors

  • Rate limiting (rate_limited / HTTP 429): Abuse protection that applies equally to all customers. Retry after the indicated duration.
  • Billing errors (quota_exceeded, plan_requires_upgrade / HTTP 403): Plan-based limits tied to your organization. These require a plan change or waiting for quota reset, not just retrying.
Both SDKs map these to distinct error types (RateLimitError vs. AuthorizationError) so you can handle them differently in your code.