Unable to login to Atlassian forge

Error : We couldn’t log you in with those credentials. Check your email address and token before rerunning the command.
` forge login --verbose
Log in to your Atlassian account
Press Ctrl+C to cancel.

? Enter your email: a********@gmail.com

Next, enter your Atlassian API token. If you don’t have a token, visit this URL to create one:
https://id.atlassian.com/manage/api-tokens

? Enter your Atlassian API token: [hidden]

Logging you in…

:arrow_forward: GraphQL GraphQL Gateway
Query:
query forge_cli_getUserDetails {
me {
user {
name
accountStatus
accountId
}
}
}
Variables: {}
Your API token is no longer valid. Run forge login to reset your login credentials.

Error: We couldn’t log you in with those credentials. Check your email address and token before rerunning the command.

Error: We couldn’t log you in with those credentials. Check your email address and token before rerunning the command.
at loginCommandHandler (C:\Users\Dell\AppData\Roaming\npm\node_modules@forge\cli\out\command-line\register-authentication-command.js:41:65)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Command.actionProcessor (C:\Users\Dell\AppData\Roaming\npm\node_modules@forge\cli\out\command-line\command.js:76:32)`

node version : 16.17.0