OnwardOnward
  • Public docs
  • Internal docs
  • Guides
  • Public API Reference
  • Internal documentation
IntroductionAuthentication
Partner integrations
Account linking
Rewarding user
Errors
Guides

Errors

Public API failures use an HTTP status and a JSON envelope:

Code
{ "success": false, "error": "Human-readable error message" }

Status guide

StatusMeaningRecommended handling
400 Bad RequestThe request or connection token is invalid.Correct the request. Do not retry unchanged input.
401 UnauthorizedAPI credentials are missing or invalid.Check both authentication headers.
403 ForbiddenProvider type or permission does not allow the operation.Use the correct credential or update its permission.
409 ConflictThe requested connection conflicts with existing state.Treat as a business result and inspect the message.
500 Internal Server ErrorOnward could not complete the operation.Retry with bounded exponential backoff and preserve your correlation context.

Retry policy

Retry only infrastructure and transient server failures. Use exponential backoff with jitter and a maximum number of attempts. Do not automatically retry validation, authentication, authorization, or conflict responses.

Empty data is not an error

GET /v1/quest-chains/active/{platformUserId} returns 200 OK when no active chain exists. Inspect user.exists to distinguish an unknown user from a known user who currently has no active quest chains.

The API Reference lists the responses currently declared for each operation and remains the source of truth for the public contract.

Last modified on August 5, 2026
Rewards and webhooks
On this page
  • Status guide
  • Retry policy
  • Empty data is not an error
JSON