Authorization code already used
What it means
Codes are single-use. If the company’s redirect page is a live app, it probably exchanged the code itself before you pasted it.
Fix
For testing, register a loopback redirect (http://localhost:PORT/callback) or a redirect page that does nothing, then use that.
Seen on real servers
{
"error": "invalid_grant"
}{
"error": "invalid_request",
"error_description": "Authorization code in the request is not valid"
}{
"error": "Invalid Grant"
}{
"error": "invalid_code"
}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-profileAlready have the server’s error? Explain it without running anything.
npx smart-doctor explain '{"error":"invalid_grant"}'