# \[solved\] Ansible-galaxy collection install community.general fails with 403

**URL:** <https://forum.ansible.com/t/solved-ansible-galaxy-collection-install-community-general-fails-with-403/7144>\
**Category:** Get Help\
**Tags:** ansible-galaxy, install, galaxy, collections, galaxy-ng\
**Created:** [July 8, 2024, 3:23pm UTC](https://forum.ansible.com/t/solved-ansible-galaxy-collection-install-community-general-fails-with-403/7144 "2024-07-08T15:23:21Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![gx0](https://avatars.discourse-cdn.com/v4/letter/g/b9bd4f/32.png) [@gx0](https://forum.ansible.com/u/gx0)\
**Post date:** [July 8, 2024, 3:23pm UTC](https://forum.ansible.com/t/solved-ansible-galaxy-collection-install-community-general-fails-with-403/7144/1 "2024-07-08T15:23:22Z")

</div>

Hello,

I’m trying to install collection by running `ansible-galaxy colleciton install X` but I get an error 403:

```ansible-galaxy
Starting galaxy collection install process
Process install dependency map
Starting collection install process
Downloading https://galaxy.ansible.com/api/v3/plugin/ansible/content/published/collections/artifacts/community-general-9.1.0.tar.gz to /home/USER/.ansible/tmp/ansible-local-29479k8yv4hfv/tmpd33r34x9/community-general-9.1.0-2uqlzk28
ERROR! Failed to download collection tar from 'default' due to the following unforeseen error: HTTP Error 403: Forbidden. HTTP Error 403: Forbidden

```

I tried setting up the ~/.ansible/galaxy\_token file like:

```auto
token: MY_TOKEN

```

and when running `ansible-galaxy collection install X -vvv` I can see that the file is being used. Though I cannot remember every having to setup a token for collections like “community.general”.

**Anyone else having problems with galaxy?**

Here is some information:

```auto
ansible [core 2.15.3]
  config file = /root/MY_PROJ/ansible.cfg
  configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/local/lib/python3.9/dist-packages/ansible
  ansible collection location = /root/.ansible/collections:/usr/share/ansible/collections
  executable location = /usr/local/bin/ansible
  python version = 3.9.2 (default, Feb 28 2021, 17:03:44) [GCC 10.2.1 20210110] (/usr/bin/python3)
  jinja version = 3.1.2
  libyaml = True

```

---

<div class="post-metadata">

**Author:** ![Chris\_Sibiski](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/chris_sibiski/32/4143_2.png) [@Chris\_Sibiski](https://forum.ansible.com/u/Chris_Sibiski)\
**Post date:** [July 8, 2024, 3:29pm UTC](https://forum.ansible.com/t/solved-ansible-galaxy-collection-install-community-general-fails-with-403/7144/2 "2024-07-08T15:29:36Z")

</div>

We are also having issues, attempting ansible core to the latest now.

---

<div class="post-metadata">

**Author:** ![jlmitch5](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/jlmitch5/32/578_2.png) [@jlmitch5](https://forum.ansible.com/u/jlmitch5)\
**Post date:** [July 8, 2024, 3:30pm UTC](https://forum.ansible.com/t/solved-ansible-galaxy-collection-install-community-general-fails-with-403/7144/3 "2024-07-08T15:30:19Z")

</div>

@gx0 @Chris_Sibiski see [Jul 8, 2024 Ansible Galaxy service degradation info thread](http://forum.ansible.com/t/jul-8-2024-ansible-galaxy-service-degradation-info-thread/7142/1)

---

<div class="post-metadata">

**Author:** ![pwalters04](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/pwalters04/32/2236_2.png) [@pwalters04](https://forum.ansible.com/u/pwalters04)\
**Post date:** [July 8, 2024, 3:31pm UTC](https://forum.ansible.com/t/solved-ansible-galaxy-collection-install-community-general-fails-with-403/7144/4 "2024-07-08T15:31:18Z")

</div>

I am experiencing the same issue

---

<div class="post-metadata">

**Author:** ![iyami5](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/iyami5/32/3449_2.png) [@iyami5](https://forum.ansible.com/u/iyami5)\
**Post date:** [July 8, 2024, 3:36pm UTC](https://forum.ansible.com/t/solved-ansible-galaxy-collection-install-community-general-fails-with-403/7144/5 "2024-07-08T15:36:20Z")

</div>

see [Jul 8, 2024 Ansible Galaxy service degradation info thread](http://forum.ansible.com/t/jul-8-2024-ansible-galaxy-service-degradation-info-thread/7142/1)

---

<div class="post-metadata">

**Author:** ![jlmitch5](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/jlmitch5/32/578_2.png) [@jlmitch5](https://forum.ansible.com/u/jlmitch5)\
**Post date:** [July 8, 2024, 4:10pm UTC](https://forum.ansible.com/t/solved-ansible-galaxy-collection-install-community-general-fails-with-403/7144/6 "2024-07-08T16:10:14Z")

</div>

This should be fixed - [[Update: Fixed] Ansible Galaxy service degradation info thread (Jul 8, 2024) - #6 by jlmitch5](http://forum.ansible.com/t/update-fixed-ansible-galaxy-service-degradation-info-thread-jul-8-2024/7142/6)

---

<div class="post-metadata">

**Author:** ![gx0](https://avatars.discourse-cdn.com/v4/letter/g/b9bd4f/32.png) [@gx0](https://forum.ansible.com/u/gx0)\
**Post date:** [July 9, 2024, 7:16am UTC](https://forum.ansible.com/t/solved-ansible-galaxy-collection-install-community-general-fails-with-403/7144/7 "2024-07-09T07:16:14Z")

</div>

Thanks! It’s working again.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/ansible/original/1X/1882d9a01da5d8996a862359b0913cc568a39b84.svg) [@system](https://forum.ansible.com/u/system)\
**Post date:** [August 8, 2024, 7:16am UTC](https://forum.ansible.com/t/solved-ansible-galaxy-collection-install-community-general-fails-with-403/7144/8 "2024-08-08T07:16:43Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
