# ansible-galaxy github-token calling non-existant API endpoint

**URL:** <https://forum.ansible.com/t/ansible-galaxy-github-token-calling-non-existant-api-endpoint/20042>\
**Category:** Ansible Project\
**Tags:** galaxy-ng\
**Created:** [December 17, 2015, 6:04pm UTC](https://forum.ansible.com/t/ansible-galaxy-github-token-calling-non-existant-api-endpoint/20042 "2015-12-17T18:04:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bryan\_Hunt](https://avatars.discourse-cdn.com/v4/letter/b/bb73d2/32.png) [@Bryan\_Hunt](https://forum.ansible.com/u/Bryan_Hunt)\
**Post date:** [December 17, 2015, 6:04pm UTC](https://forum.ansible.com/t/ansible-galaxy-github-token-calling-non-existant-api-endpoint/20042/1 "2015-12-17T18:04:03Z")

</div>

### Hi there, it seems an API endpoint may have vanished.###

### From - [http://docs.ansible.com/ansible/galaxy.html](http://docs.ansible.com/ansible/galaxy.html)

---

<div class="post-metadata">

**Author:** ![Chris\_Houseknecht](https://avatars.discourse-cdn.com/v4/letter/c/c57346/32.png) [@Chris\_Houseknecht](https://forum.ansible.com/u/Chris_Houseknecht)\
**Post date:** [December 17, 2015, 8:11pm UTC](https://forum.ansible.com/t/ansible-galaxy-github-token-calling-non-existant-api-endpoint/20042/2 "2015-12-17T20:11:55Z")

</div>

The doc site is not up to speed with the latest in the stable-2.0 branch. If it were, you would see a note explaining the following:

> Note  
> The login command in Ansible 2.0 requires using the Galaxy 2.0 Beta site. Use the `--server` option to access [https://galaxy-qa.ansible.com](https://galaxy-qa.ansible.com/). You can also add a _server_ definition in the [galaxy] section of your ansible.cfg file.

So as the above note explains, the login command only works with the beta site. This is true for import, delete and setup commands as well.

Apologies for the confusion. I’ll see what we can do to update the doc site.

–Chris

---

<div class="post-metadata">

**Author:** ![Bryan\_Hunt](https://avatars.discourse-cdn.com/v4/letter/b/bb73d2/32.png) [@Bryan\_Hunt](https://forum.ansible.com/u/Bryan_Hunt)\
**Post date:** [December 17, 2015, 8:27pm UTC](https://forum.ansible.com/t/ansible-galaxy-github-token-calling-non-existant-api-endpoint/20042/3 "2015-12-17T20:27:47Z")

</div>

Thanks for the quick response Chris !

B
