Errors

Authentication required

No credential was presented, or the one presented is not recognized — expired, revoked, or never valid.

Code
AUTHENTICATION_REQUIRED
HTTP status
401
Type
https://myna.sh/errors/authentication-required

What to do

Sign in with myna login, or send an API key as a bearer token. myna doctor separates a missing credential from one the API rejected, which is usually the distinction that matters.

Full error reference · All codes

application/problem+json
{
  "type": "https://myna.sh/errors/authentication-required",
  "title": "Authentication required",
  "status": 401,
  "code": "AUTHENTICATION_REQUIRED",
  "detail": "A human-readable explanation of this particular occurrence.",
  "requestId": "req_01k…"
}