SDKs — iOS — Android — Kotlin — Flutter — React Native — Web — Unity — Cordova — IBM MFP — Kony API Reference Guides Changelog ← appice.ai
REST API

Errors

HTTP status codes and error response format. The codes below are universal; the response body fields are Appice-specific.

Status codes

CodeMeaningCommon causes
200OKRequest succeeded.
201CreatedResource created.
202AcceptedEvent accepted for asynchronous processing.
400Bad RequestMalformed JSON, missing required field, invalid type.
401UnauthorizedMissing, invalid or expired API token.
403ForbiddenToken does not carry the required scope.
404Not FoundResource does not exist.
409ConflictIdempotency key collision with a different payload.
422Unprocessable EntitySchema-valid but business-rule-rejected.
429Too Many RequestsRate limit exceeded — see Retry-After header.
500Internal Server ErrorServer-side failure — retry with exponential backoff.
503Service UnavailableBrief unavailability — retry.

Error response body

⚠ TODO — Engineering
Document the canonical error response shape. Common pattern: { error: { code, message, request_id, details } }. Include a worked example for a 400 and a 401.

Retry strategy

For 5xx and 429 responses, retry with exponential backoff. Recommended: initial delay 1s, multiplier 2x, max delay 30s, max attempts 5. Honor the Retry-After header on 429 responses if present.