# Difficulty provisioning role namespace for GitHub org (role import returns HTTP 500)

**URL:** <https://forum.ansible.com/t/difficulty-provisioning-role-namespace-for-github-org-role-import-returns-http-500/45877>\
**Category:** Get Help\
**Tags:** rhel, galaxy-ng\
**Created:** [June 4, 2026, 6:01pm UTC](https://forum.ansible.com/t/difficulty-provisioning-role-namespace-for-github-org-role-import-returns-http-500/45877 "2026-06-04T18:01:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![darkhonor](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/darkhonor/32/10792_2.png) [@darkhonor](https://forum.ansible.com/u/darkhonor)\
**Post date:** [June 4, 2026, 6:01pm UTC](https://forum.ansible.com/t/difficulty-provisioning-role-namespace-for-github-org-role-import-returns-http-500/45877/1 "2026-06-04T18:01:37Z")

</div>

I’m trying to publish a role from `https://github.com/mpe-es/ansible-role-rhel-rke2-stig` to Galaxy, but `ansible-galaxy role import` and the web UI **Import role** both return `HTTP 500 (Internal Server Error)`, with no entry appearing under **Role Imports**.

Diagnosis so far:

- I am an **owner** of the `mpe-es` GitHub org, and the **Ansible GalaxyNG** OAuth app is **approved** for the org (Third-party access policy).
- Logging out/in of Galaxy does **not** auto-provision an `mpe_es` role namespace; it doesn’t exist under **Role Namespaces** , and the UI has no option to create one.
- The Import UI shows “ **No matching namespace found** ” for GitHub user `mpe-es`.
- The repo is public and imports cleanly under `galaxy-importer` locally (`Importer processing completed successfully`), so the 500 is namespace-resolution, not role content.
- My personal namespace `darkhonor` (id 7882) exists and works; importing the org repo under it also 500s (provider mismatch).

**Request:** Please provision the role namespace `mpe_es` linked to the `mpe-es` GitHub org so I can import `mpe-es/ansible-role-rhel-rke2-stig` as `mpe_es.rhel_rke2_stig`. GitHub user: `darkhonor` (org owner). Thank you.

---

<div class="post-metadata">

**Author:** ![dbrennand](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/dbrennand/32/7830_2.png) [@dbrennand](https://forum.ansible.com/u/dbrennand)\
**Post date:** [June 29, 2026, 1:52pm UTC](https://forum.ansible.com/t/difficulty-provisioning-role-namespace-for-github-org-role-import-returns-http-500/45877/2 "2026-06-29T13:52:23Z")

</div>

Hi @darkhonor

Sorry to hear you’re having some trouble with importing your role into Galaxy.

For the Galaxy namespace request, please can you submit a request via the instructions here: [Ansible Galaxy: how to request a custom namespace](https://forum.ansible.com/t/ansible-galaxy-how-to-request-a-custom-namespace/45689)
