Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI-1267: Need help on to resolve acli auth:login issue in azure devops #1680

Closed
bharath0691 opened this issue Feb 12, 2024 · 2 comments
Closed
Labels

Comments

@bharath0691
Copy link

Hi Team,

im using acquia cli in azure devops, but when i try to login with below command getting error

command:-
acli auth:login --key '$ACQUIA_APIKEY' --secret '$ACQUIA_APISECRET' --no-interaction -vvv

error:

Acquia\Cli\EventListener\ExceptionListener->onConsoleError() at phar:///usr/local/bin/acli/vendor/symfony/event-dispatcher/EventDispatcher.php:260
Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher{closure}() at phar:///usr/local/bin/acli/vendor/symfony/event-dispatcher/EventDispatcher.php:220
Symfony\Component\EventDispatcher\EventDispatcher->callListeners() at phar:///usr/local/bin/acli/vendor/symfony/event-dispatcher/EventDispatcher.php:56
Symfony\Component\EventDispatcher\EventDispatcher->dispatch() at phar:///usr/local/bin/acli/vendor/symfony/console/Application.php:1087
Symfony\Component\Console\Application->doRunCommand() at phar:///usr/local/bin/acli/vendor/symfony/console/Application.php:320
Symfony\Component\Console\Application->doRun() at phar:///usr/local/bin/acli/vendor/symfony/console/Application.php:174
Symfony\Component\Console\Application->run() at phar:///usr/local/bin/acli/bin/acli:108
require() at /usr/local/bin/acli:14

auth:login [-k|--key KEY] [-s|--secret SECRET]

[help] Run acli auth:login to reset your API credentials.

@github-actions github-actions bot changed the title Need help on to resolve acli auth:login issue in azure devops CLI-1267: Need help on to resolve acli auth:login issue in azure devops Feb 12, 2024
@danepowell
Copy link
Contributor

Have you omitted the actual error message from your post? I see a stacktrace but not an error message.

At any rate, assuming that command you posted is literally what you ran, I wouldn't expect it to work because you used single quotes to enclosed a Bash variable. You need to use double quotes. See https://www.gnu.org/software/bash/manual/html_node/Quoting.html

@danepowell
Copy link
Contributor

Let me know if that doesn't help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants