Red Hat Insights service account token-based authentication failed with error message "JWT token header is malformed."

Solution Verified - Updated -

Issue

  • Red Hat Insights service account token-based authentication not working and failed with the following error message:

    {"errors":[{"detail":"JWT token header is malformed.","meta":{"response_by":"gateway"},"status":401}]}
    

Environment

  • Red Hat Insights

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