Skip to main content
There are two error envelopes. The token endpoint uses the OAuth shape. Everything else uses the resource shape.

Token errors

POST /api/partner/oauth/token returns a flat OAuth error:

Resource errors

Every other endpoint returns:
request_id matches the X-Request-Id response header and the audit row for the call. Log it. It is the fastest way for Glide support to find what happened.
A 503 from audit_unavailable after a successful pre-create is safe to retry. Pre-creation is idempotent per partner and email, so the retry returns the same user_id and the same created value.

Treasury errors

The treasury batch endpoint uses the same envelope with additional codes. Cap errors name the limit they violated. They deliberately do not reveal how much allowance remains.

Retry rules that matter for money

A timeout, a dropped connection, a 5xx or an unparseable response from the treasury endpoint is unconfirmed, not failed. Retry the identical body with the identical Idempotency-Key. Never mark the payout failed and never mint replacement execution ids on an unconfirmed outcome.
A validation, policy or funds rejection is audited and consumes no execution ids, so your obligations stay payable once the cause is fixed.