# Issue with header formatting for Authorization header?

**URL:** <https://devforum.zoom.us/t/issue-with-header-formatting-for-authorization-header/60383>\
**Category:** API and Webhooks\
**Created:** [November 17, 2021, 9:01pm UTC](https://devforum.zoom.us/t/issue-with-header-formatting-for-authorization-header/60383 "2021-11-17T21:01:54Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![stephendickson](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/stephendickson/32/36479_2.png) [@stephendickson](https://devforum.zoom.us/u/stephendickson)\
**Post date:** [November 17, 2021, 9:01pm UTC](https://devforum.zoom.us/t/issue-with-header-formatting-for-authorization-header/60383/1 "2021-11-17T21:01:54Z")

</div>

**Description**  
I have successfully obtained an access token using an OAuth app on the account level. However, when I try to use that token as Bearer in the Authorization header, the response states “Invalid api key or secret”. I’m using Pipedream and am including screenshots to show what I’m seeing.

**Error**  
{  
“code”: 200,  
“message”: “Invalid api key or secret.”  
}

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
OAuth

**Which Endpoint/s?**  
[https://api.zoom.us/v2/users](https://api.zoom.us/v2/users)

**Screenshots (If applicable)**  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/c/e/ce3a4db74ee42eabbde1320dfc9e559739f8c7cc.png)

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [November 19, 2021, 12:47pm UTC](https://devforum.zoom.us/t/issue-with-header-formatting-for-authorization-header/60383/2 "2021-11-19T12:47:26Z")

</div>

Hey @stephendickson,

Are you leveraging a user level or account level oauth app? This could be occurring if the access\_token is associated with a user level OAuth app/set of credentials.

Let me know, thanks!  
Will

---

<div class="post-metadata">

**Author:** ![stephendickson](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/stephendickson/32/36479_2.png) [@stephendickson](https://devforum.zoom.us/u/stephendickson)\
**Post date:** [November 19, 2021, 1:14pm UTC](https://devforum.zoom.us/t/issue-with-header-formatting-for-authorization-header/60383/3 "2021-11-19T13:14:54Z")

</div>

Hi @will.zoom, this is an Account level app and I took the credentials from the App credentials page in the app management portal.

Thanks,  
Stephen

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [November 22, 2021, 9:37am UTC](https://devforum.zoom.us/t/issue-with-header-formatting-for-authorization-header/60383/4 "2021-11-22T09:37:45Z")

</div>

Hi @stephendickson,

Thanks for clarifying. Can you please open up a request with us here and share the full details of your request including the authorization header you’re passing, and the Client ID of your app? We will be happy to take a closer look.

Thanks,  
Will

---

<div class="post-metadata">

**Author:** ![stephendickson](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/stephendickson/32/36479_2.png) [@stephendickson](https://devforum.zoom.us/u/stephendickson)\
**Post date:** [November 29, 2021, 6:17pm UTC](https://devforum.zoom.us/t/issue-with-header-formatting-for-authorization-header/60383/5 "2021-11-29T18:17:34Z")

</div>

Hi @will.zoom, glad to. Should I just respond with the client ID in this thread? I can’t seem to find a way to open up a request here.

Thanks,  
Stephen

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [December 2, 2021, 2:04pm UTC](https://devforum.zoom.us/t/issue-with-header-formatting-for-authorization-header/60383/6 "2021-12-02T14:04:19Z")

</div>

Hi @stephendickson,

If you’re having trouble submitting a request, you can also email this Client ID and the authorization header details to us directly at [developersupport@zoom.us](mailto:developersupport@zoom.us).

Thanks,  
Will

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [January 2, 2022, 12:05am UTC](https://devforum.zoom.us/t/issue-with-header-formatting-for-authorization-header/60383/7 "2022-01-02T00:05:03Z")

</div>

Closed on January 2, 2022, 12:05am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
