smart-doctor v0.2.0 GitHub

Error catalogueCode exchange

Authorization code expired

What it means

Codes are short-lived (often 1–10 minutes).

Fix

Paste the callback URL promptly after signing in.

Seen on real servers

server responsePublic vendor sandbox
{
  "error": "invalid_grant",
  "error_description": "authorization code has already been used or has expired"
}

Check it with smart-doctor

Run your login and smart-doctor ranks this cause against the others, with the evidence it found.

npx smart-doctor check my-profile

Already have the server’s error? Explain it without running anything.

npx smart-doctor explain '{"error":"invalid_grant","error_description":"authorization code has already been used or has expired"}'