Scope syntax version may not match the server
What it means
You used SMART v2 scope syntax (.rs/.cruds) but the server only advertises v1, or vice versa.
Fix
Match the server: v1 uses .read/.write/.*; v2 uses .c/.r/.u/.d/.s combinations.
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_scope"}'