ERROR Unexpected Exception this is probably a bug HTTP Error 400 Bad Request

0 votes

Hi Guys,

I am trying to login to Ansible Galaxy from the command line. But it is showing me the below error. Though I am giving the correct credentials.

$ ansible-galaxy role login

We need your GitHub login to identify you.
This information will not be sent to Galaxy, only to api.github.com.
The password will not be displayed.
Use --github-token if you do not want to enter your password.
GitHub Username: xxxxxxx
Password for xxxxxxxx:
ERROR! Unexpected Exception, this is probably a bug: HTTP Error 400: Bad Request
to see the full traceback, use -vvv
Aug 28, 2020 in Ansible by akhtar
• 38,210 points
509 views

1 answer to this question.

0 votes

Hi@akhtar,

You will get this error if you are using the wrong credentials of GitHub. But there may be another reason behind this. You have to log in to the Ansible Galaxy portal first. Otherwise, it will not allow you to log in from command line. So login into the portal first and try once. It will work.

answered Aug 28, 2020 by MD
• 95,300 points

Related Questions In Ansible

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
1,250 views
+2 votes
1 answer
0 votes
1 answer
0 votes
1 answer

No match for argument: ansible Error: Unable to find a match

Hi@akhtar, Ansible is not part of your RedHat ...READ MORE

answered Jul 27, 2020 in Ansible by MD
• 95,300 points
4,938 views