콘텐츠로 이동

unauthorized

이 콘텐츠는 아직 번역되지 않았습니다.

type: https://docs.d2b.dev/errors/unauthorized — Not authenticated. Typical status: 401.

The Authorization: Bearer <PAT> header is missing or malformed, the token was revoked or expired, or the CLI’s saved login lapsed (90 days).

  • d2b login again (CLI), or re-issue the PAT from the console
  • Check D2B_API_KEY is non-empty and starts with d2b_pat_
  • /api/control takes Account API keys; /api/v1 takes PATs — make sure you’re not crossing them

All error types: Reading errors.