ErrorEnvelope
- codeType: string · ErrorCodeenumrequired
An error code. The control plane returns the first group; the realtime edge additionally returns
invalid_token,token_expired, andnot_memberon the routes included here.origin_not_allowed(403) is returned by BOTH hosts to a browser whose Origin isn't registered for the resolved environment (POST /v1/tokens/anonymouson the control plane; the client hot-path publish/history/members routes on the realtime edge) —reasonnames the exact origin and the fix (portal origins add <origin> --env <envId>). Unlike other errors, this response always carriesAccess-Control-Allow-Originfor the request's own (unregistered) Origin, or a browser couldn't read the message either.values- unauthorized
- forbidden
- not
_found - validation
_failed - conflict
- reasonType: string
A human-readable explanation. Absent when the code is self-explanatory.