Why I am Getting `ERROR: 401 Client Error: Unauthorized for url:` While Fetching Licenses in Ansible Tower?

Solution Verified - Updated -

Issue

While using Red Hat customer credentials to get licenses in Ansible Tower its failing with the error:

ERROR: 401 Client Error: Unauthorized for url: https://subscription.rhsm.redhat.com/subscription/users/your-username/owners

Environment

Ansible Tower > = 3.6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In