When I am running the below command from company's machine I get below error
Command:
forge login -u myemailid -t apitokenkeygeneratedfromjira --verbose
Error:
Log in to your Atlassian account
Press Ctrl+C to cancel.
Logging you in...
▶️ GraphQL https://api.atlassian.com/graphql
Query:
query forge_cli_getUserDetails {
me {
user {
name
accountStatus
accountId
}
}
}
Variables: {}
request to https://api.atlassian.com/graphql failed, reason: getaddrinfo ENOTFOUND api.atlassian.com
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\XYZ\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\XYZ\AppData\Roaming\npm\node_modules\@forge\cli\out\command-line\command.js:76:32)
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.