Error catalogueReaching the server
Token URL is wrong
What it means
The token endpoint answered 404/405 or HTML instead of an OAuth JSON response.
Fix
Use the token_endpoint from the server’s .well-known/smart-configuration.
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