Skip to main content
Question

API Request Authorization issue

  • November 20, 2023
  • 5 replies
  • 466 views

Forum|alt.badge.img

Im trying to use the Gong API from Postman. I have my access key and secret. Ive added the Authorization header with a value of <AccessKey>:<AccessSecret> but when i try to use it I get

 

{
    "requestId": "12345",
    "errors": [
        "Missing mandatory header \"Authorization\""
    ]
}

Anyone know whats going wrong?

5 replies

Molly Kipnis
Forum|alt.badge.img+2
  • Community Manager
  • 597 replies
  • November 21, 2023

Hey @Conor Downey, let me ask around internally about this. Thanks for your patience!  


Forum|alt.badge.img
  • Author
  • Community Newbie
  • 1 reply
  • November 21, 2023

I got it working, thanks


Molly Kipnis
Forum|alt.badge.img+2
  • Community Manager
  • 597 replies
  • November 21, 2023

  • Community Newbie
  • 1 reply
  • February 20, 2024

@Conor Downey Would you be willing to share how you got past this problem?

I’m hitting the same exact error, and when I review the headers I am sending in the request, the Authorization header is clearly present:

{'User-Agent': 'python-requests/2.24.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Authorization': 'Basic <token>'}

But the API still replies with:

{
  "requestId" : "2647q3qffpzs8sh6gzp",
  "errors" : [ "Missing mandatory header \"Authorization\"" ]
}

So I’m definitely open to any suggestions!


  • Community Newbie
  • 3 replies
  • March 27, 2024

@Jeff Falk In Postman make sure you are using basic auth and enter your access key → username & secret → password

 

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings
×