Aglet

API integrations playbooks

Make request contracts, pagination, compatibility, and integration recovery easier to reason about. Choose a scenario, then the decision you need to make.

API Authentication Scope Mismatch

Requests authenticate successfully but fail because the credential, endpoint, or granted scope does not authorize the operation the client selected.

API Token Expiry Recovery

A long-running integration reaches token expiry and either stops, loops, or loses the original operation context while trying to recover access.

API Version Drift

A client and remote API evolve on different schedules, leaving requests, response fields, or deprecation behavior dependent on an undocumented version boundary.

API Request Schema Rejection

Valid-looking client input is rejected because serialization, required fields, types, or nested structure diverge from the operation contract.

API Error Contract Drift

An integration still receives an error, but its status, code, shape, or detail no longer fits the client branch that decides whether to retry or show recovery.

Cursor Pagination Break

A list integration skips, repeats, or stops records when an opaque cursor is stored, decoded, reused, or combined with changed filters.

API Filter Encoding Mismatch

The UI or domain filter is meaningful, but query serialization changes escaping, arrays, dates, or repeated parameters before the API evaluates it.

API Rate Limit Burst

A burst of calls reaches a documented or observed limit and the client either ignores retry timing, retries every caller together, or loses work context.

API Idempotency Key Collision

A retry-safe operation reuses an idempotency key across different logical requests, causing a response to be replayed, rejected, or associated with the wrong work.

API Timeout Retry Loop

A caller cannot tell whether a timed-out operation completed remotely, so retries multiply work or leave the local record stuck between pending and failed.

API Partial Response Truncation

A response arrives with valid framing but missing pages, nested items, or trailing fields, leaving the client to treat incomplete data as a complete result.

API Bulk Operation Window

A bulk request spans asynchronous acceptance, progress, completion, and result retrieval, but the client treats one intermediate response as final.

API Nullable Field Change

A response field that was usually present becomes explicitly null or absent, and client code cannot distinguish an allowed empty state from a contract change.

API Enum Value Expansion

A remote response introduces an enum value that older client code cannot parse, classify, or safely display while the rest of the payload remains valid.

API Date Time Format Drift

A timestamp changes precision, offset, timezone notation, or field meaning, causing ordering, expiry, or display code to interpret a valid value incorrectly.

API Sandbox Production Confusion

Configuration sends a request to the wrong environment, or test credentials and live records become indistinguishable in logs, fixtures, or local state.

OAuth Redirect URI Mismatch

An authorization flow reaches a callback that the client cannot accept because registered redirect data, state, environment, or session context diverges.

Service Account Permission Gap

A non-human integration has a credential but lacks the resource role, scope, or tenant binding needed by one operation while other calls continue to work.

API Client Connection Pool

An integration exhausts or misuses its connection pool, making latency and failures depend on concurrency, response size, or connection reuse rather than one endpoint alone.

API Dependency Outage Fallback

A required remote dependency becomes unavailable and the integration has to distinguish a temporary read gap from a safe fallback or an operation that must remain pending.