Error synchronizing ansible_collection repository

Problem:
Could not find ‘available_versions’ at https://artifactory.example.com/artifactory/api/ansible/ansible-repo-example/api/v3/collections/test/collection/

Foreman and Proxy versions:
Foreman: 3.12.1
Foreman-proxy: 3.12.1

  1. Name: foreman-tasks
    Version: 9.2.3
  2. Name: foreman_ansible
    Version: 14.2.1
  3. Name: foreman_puppet
    Version: 7.0.0
  4. Name: foreman_remote_execution
    Version: 13.2.5
  5. Name: foreman_webhooks
    Version: 3.2.3
  6. Name: katello
    Version: 4.14.1

Foreman and Proxy plugin versions:

  1. Name: dynflow
    Version: 0.9.3
  2. Name: script
    Version: 0.11.4
  3. Name: pulpcore
    Version: 3.3.0
  4. Name: ansible
    Version: 3.5.6
  5. Name: shellhooks
    Version: 0.9.3
  6. Name: tftp
    Version: 3.12.1
  7. Name: dhcp
    Version: 3.12.1
  8. Name: puppetca
    Version: 3.12.1
  9. Name: puppet
    Version: 3.12.1
    10)Name: logs
    Version: 3.12.1

Distribution and version:
Red Hat Enterprise Linux release 8.10 (Ootpa)

Other relevant data:
I am using an Ansible repository on Artifactory and the ‘Repository Layout’ is ‘ansible-default’.

I have published my Ansible collection using the command ansible-galaxy collection publish test/collection/test-collection-1.0.0.tar.gz -s https://artifactory.example.com/artifactory/api/ansible/ansible-repo-example --token=....

The structure created in the Artifactory repository is:
image

In the repository configuration of type ‘ansible_collection’ I have indicated the following fields:

  • Upstream URL: https://artifactory.example.com/artifactory/api/ansible/ansible-repo-example/api/v3/collections/test/collection/
  • Upstream Authorization: user/token

Thanks in advance :grinning:.