detail field.
Request ID
Every answer has anX-Request-ID header. Aiveth writes the same ID on its own logs and on the activity log entries the request made. Quote it when you contact support.
You may send your own X-Request-ID. Aiveth keeps it beside its own ID, so you can find your request either way, but the header in the answer is always Aiveth’s.
OAuth and OpenID Connect errors
The token, device authorization, revocation and introspection endpoints answer errors as JSON (RFC 6749 §5.2):Cache-Control: no-store. An invalid_client answer is 401 and carries WWW-Authenticate: Basic realm="aiveth".
Errors at
/oauth/authorize go back to the app’s registered return address as error and error_description query parameters. If the app or return address isn’t registered, Aiveth shows an error page and never redirects. See Login with Aiveth.
/oauth/userinfo answers a token it won’t accept with 401, {"error": "invalid_token"}, and a WWW-Authenticate header.
Server API errors
The admin API, consent API, events API and Shared Signals streams answer errors with adetail field in plain English:
Validation errors
When a request body or parameter has the wrong shape, the answer is422 with a list:
loc (where), msg (the rule) and type. Aiveth never echoes the value you sent, so a password or token in a bad request never comes back in the answer.
Some 422 answers have a plain-text detail instead, for a rule that isn’t about shape, such as "limit is 1 to 100.".
The SDKs raise these as AivethError, with Aiveth’s words and the status.
Rate limits
Aiveth counts requests in one-minute windows. Past a limit, the answer is429.
Sign-in pages, codes and passwords have their own limits to stop guessing. See Attack protection.
Some
429 answers include a Retry-After header with the seconds to wait. When there is none, wait until the next minute. Reuse tokens until they end instead of asking for new ones on every call.