Getting `ERROR: 401` response while fetching the licenses in Red Hat Ansible Tower 3.6 and above.

Solution Verified - Updated -

Issue

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

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

    OR

    ERROR FETCHING LICENSES
    
    ERROR: The provided credentials are invalid (HTTP 401).
    

Environment

  • Red Hat® Ansible Tower > = 3.6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content