Visual RFC.
ALL RFCs / RFC 6750
Read the RFC ↗
RFC 6750 / MECHANISMS

Errors describe different failures

04

The server distinguishes malformed requests, invalid tokens, and insufficient privileges.

RFC 6750 · § 3.1EXAMPLE
3 / 3
03
Client response

Refresh or request appropriate authorization as applicable; do not treat every failure as the same error.

Errors describe different failuresThe server distinguishes malformed requests, invalid tokens, and insufficient privileges. Current state: Client response.Errors describe different failures401invalid_token403insufficient_scopepermissionDifferent failures need different client actions

Key idea: invalid_request describes a malformed authentication request.

Terms

Look up a term in the glossary ↗

Rules & examples
  • invalid_request describes a malformed authentication request.
  • invalid_token can describe expiry, revocation, or other invalidity and normally uses 401.
  • insufficient_scope normally uses 403 and can identify the required scope.

The illustration is schematic. Example values are illustrative; profiles and later security guidance can add requirements.

Sources
Protocol participantThreat or exceptionProtocol controlSimplified drawings · precise section references
New to this? Start hereA quick picture + helpful background

A key is different from permission.

An app, a person, and a server have different roles. Follow who asks, who grants permission, and who checks the credential. A key in the drawing is an analogy, not a literal protocol field.

Helpful first, if these ideas are unfamiliar

These pictures are analogies to help you learn. The linked RFC explains the actual rules.

Related RFCs and changes

“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.

All chapters in RFC 6750

Drawing view

Scroll the drawing to see every part. Playback controls stay above it.

RFC 9700 / CHAPTERS

Chapters

For full details, tables, algorithms, and exceptions, read the original RFC.

RFC status and corrections ↗