Skip to main content
Docket returns RFC 9457 problem documents for REST failures:
Branch on code. Do not branch on title or detail, and do not show either provider-owned string as your application error message.

Authorization errors

Client revocation, consent reduction, client disablement, user removal, and live grant reduction invalidate authority immediately. Do not retry a request by silently widening scopes.

Version errors

unsupported_api_version means a client asserted a version other than the current 0.1.0 contract. Omit Docket-Version to accept the current contract, or send Docket-Version: 0.1.0 exactly.

Read authentication behavior

Discover the authorization server and request only the scopes a client needs.