# Ansible-galaxy search not working?

**URL:** <https://forum.ansible.com/t/ansible-galaxy-search-not-working/1691>\
**Category:** Get Help\
**Tags:** galaxy-ng\
**Created:** [October 13, 2023, 12:29pm UTC](https://forum.ansible.com/t/ansible-galaxy-search-not-working/1691 "2023-10-13T12:29:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![konstruktoid](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/konstruktoid/32/10207_2.png) [@konstruktoid](https://forum.ansible.com/u/konstruktoid)\
**Post date:** [October 13, 2023, 12:29pm UTC](https://forum.ansible.com/t/ansible-galaxy-search-not-working/1691/1 "2023-10-13T12:29:03Z")

</div>

My namespace is at [Galaxy NG](https://galaxy.ansible.com/ui/standalone/namespaces/3850/) but when searching for `--author konstruktoid` I find 1536 roles…  
Token is set in `ansible.cfg`.

```auto
$ ansible-galaxy role search --help
usage: ansible-galaxy role search [-h] [-s API_SERVER] [--token API_KEY] [-c] [--timeout TIMEOUT] [-v] [--platforms PLATFORMS] [--galaxy-tags GALAXY_TAGS] [--author AUTHOR] [searchterm ...]
[...]
$ ansible-galaxy role search --author konstruktoid docker

Found 1536 roles matching your search. Showing first 1000.
[...]

```

---

<div class="post-metadata">

**Author:** ![tannerjc](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/tannerjc/32/985_2.png) [@tannerjc](https://forum.ansible.com/u/tannerjc)\
**Post date:** [October 13, 2023, 1:16pm UTC](https://forum.ansible.com/t/ansible-galaxy-search-not-working/1691/2 "2023-10-13T13:16:50Z")

</div>

I think I see the issue. Passing the --author option causes a search url like so …

```auto
Calling Galaxy at https://galaxy.ansible.com/api/v1/search/roles/?&autocomplete=docker&page_size=1000&username_autocomplete=konstruktoid

```

We did add support for the “autocomplete” parameter, but missed the “username\_autocomplete” parameter, which causes it to be ignored during filtering.

I’ve opened a bug for it [Loading...](https://issues.redhat.com/browse/AAH-2782)
