# API error log debug

**URL:** <https://devforum.zoom.us/t/api-error-log-debug/75539>\
**Category:** API and Webhooks\
**Created:** [September 7, 2022, 11:21am UTC](https://devforum.zoom.us/t/api-error-log-debug/75539 "2022-09-07T11:21:20Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![mark5](https://avatars.discourse-cdn.com/v4/letter/m/90ced4/32.png) [@mark5](https://devforum.zoom.us/u/mark5)\
**Post date:** [September 7, 2022, 11:21am UTC](https://devforum.zoom.us/t/api-error-log-debug/75539/1 "2022-09-07T11:21:20Z")

</div>

Hi,  
We’ve got setup a website using the YoCoach online learning software.  
It integrate with Zoom for 1 to 1 lessons.

I’ve gone through all the procedures to generate API keys and added them to the YoCoach platform.  
I’ve got setup here on zoom a JWT app for this.

The integration is connected as the logs on zoom show the connection.  
But no successful call is made for the enduser, and the error log is always the same.

We have a trial Zoom account which I’m told does have the necessary rights to create what we need.  
I’ve tried logging into YoCoach with the same email address as the registered zoom account, and also logging into zoom app directly with the same.

Error as follows.

{

“endpoint”: “[https://api.zoom.us/v2/users](https://api.zoom.us/v2/users)”,

“response\_headers”: [

“Set-Cookie: zm\_aid=”“; [Domain=.zoom.us](http://Domain=.zoom.us); Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; Secure; HttpOnly”

],

“date\_time”: “2022-09-07 12:13:41”,

“method”: “POST”,

“request\_body”: “{“action”:“custCreate”,“user\_info”:{“type”:1,“email”:“EMAIL ADDRESS WAS HERE”,“first\_name”:“TEST”,“last\_name”:“TEACHER”}}”,

“response”: {

“code”: 2016,

“message”: “No permission, please contact Zoom customer support.”

},

“request\_headers”: [

“accept: _/_”,

“authorization: \*\*\*\*\*\*”,

“connection: close”,

“content-type: application/json”

],

“request\_params”: [

],

“http\_status”: “400”

}

---

<div class="post-metadata">

**Author:** ![mark5](https://avatars.discourse-cdn.com/v4/letter/m/90ced4/32.png) [@mark5](https://devforum.zoom.us/u/mark5)\
**Post date:** [September 8, 2022, 11:42am UTC](https://devforum.zoom.us/t/api-error-log-debug/75539/2 "2022-09-08T11:42:01Z")

</div>

Can anyone help with the above?  
I’ve exhausted all attempts at playing around with username and email address so it ties up with the YoCoach end.  
The YoCoach end just asks for:

API Key  
API Secret  
JWT Token  
Licence count.

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [September 8, 2022, 8:40pm UTC](https://devforum.zoom.us/t/api-error-log-debug/75539/3 "2022-09-08T20:40:28Z")

</div>

@mark5,

Happy to help! Can you share the support documentation you are using to configure Zoom credentials in YoCoach ?

---

<div class="post-metadata">

**Author:** ![j.schoenemeyer](https://avatars.discourse-cdn.com/v4/letter/j/f9ae1b/32.png) [@j.schoenemeyer](https://devforum.zoom.us/u/j.schoenemeyer)\
**Post date:** [September 9, 2022, 5:44am UTC](https://devforum.zoom.us/t/api-error-log-debug/75539/4 "2022-09-09T05:44:00Z")

</div>

do you use a JWT Token or a SDK JWT Token

 ![Untitled-1](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/0/a/0aff3a8bf194fd24de120344e727766b536c7596.png)

---

<div class="post-metadata">

**Author:** ![mark5](https://avatars.discourse-cdn.com/v4/letter/m/90ced4/32.png) [@mark5](https://devforum.zoom.us/u/mark5)\
**Post date:** [September 9, 2022, 8:02am UTC](https://devforum.zoom.us/t/api-error-log-debug/75539/5 "2022-09-09T08:02:04Z")

</div>

Hi, it’s the JWT.  
Here’s the guide I followed for setup on YoCoach.

> **[how-to-setup-zoom-api-with-yocoach.pdf](https://www.yo-coach.com/images/how-to-setup-zoom-api-with-yocoach.pdf)**

There’s not a lot to go wrong.  
I set the Licence Count to 1, which it doesn’t actually mention in the guide here.

I’m a bit stuck with Zoom saying our account is fine, and YoCoach saying it should just work.

Any help appreciated!

---

<div class="post-metadata">

**Author:** ![j.schoenemeyer](https://avatars.discourse-cdn.com/v4/letter/j/f9ae1b/32.png) [@j.schoenemeyer](https://devforum.zoom.us/u/j.schoenemeyer)\
**Post date:** [September 9, 2022, 8:04am UTC](https://devforum.zoom.us/t/api-error-log-debug/75539/6 "2022-09-09T08:04:47Z")

</div>

then check, if you are using the correct version of creating the signature

JWT Signature (deprecated) → **Milliseconds** (const timestamp = new Date().getTime() - 30000)  
SDK JWT Signature → **Seconds** (iat = Math.round((new Date().getTime() - 30000) / 1000))

this a common problem since june

---

<div class="post-metadata">

**Author:** ![mark5](https://avatars.discourse-cdn.com/v4/letter/m/90ced4/32.png) [@mark5](https://devforum.zoom.us/u/mark5)\
**Post date:** [September 9, 2022, 11:01am UTC](https://devforum.zoom.us/t/api-error-log-debug/75539/7 "2022-09-09T11:01:25Z")

</div>

Thank you for this, I’ve gone back to YoCoach, and hopefully this makes sense to them.

I chose JWT as their documentation suggested I use this, but can see now your mention of deprecation in 2023.  
Are the fields generated on the SDK different?  
At YoCoach, I have to input:

API Key  
API Secret  
JWT Token  
Licence Count

---

<div class="post-metadata">

**Author:** ![mark5](https://avatars.discourse-cdn.com/v4/letter/m/90ced4/32.png) [@mark5](https://devforum.zoom.us/u/mark5)\
**Post date:** [September 9, 2022, 4:56pm UTC](https://devforum.zoom.us/t/api-error-log-debug/75539/8 "2022-09-09T16:56:23Z")

</div>

Just to close this thread off, and for future people’s research.

It turns out that our account setup as a Trial despite being told would have the same privileges as a Pro or more, did not behave the same way.

Once we’d paid for a month of Pro and tried again, it all worked perfectly.

This thread below gave me enough direct info to go directly to Zoom support with, for them to concede it may have needed a purchased plan after all.

> [@'custCreate' user action not allowed?](https://devforum.zoom.us/t/custcreate-user-action-not-allowed/4590):
>
> Hello, We’ve been recently given access to trial Business Plan to test REST APIs, and we need to test ‘custCreate’ user action for our use case, but when we hit the user create API, it throws following response - { “code”: 2016, “message”: “No permission, please contact Zoom customer support.” } We know that this feature comes under API plan, so my questions are - 1.) Are we not under API plan on Business account ?, 2.) If not, how do we test this API ? Thanks, slight_smile

---

<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:** [September 18, 2023, 1:09am UTC](https://devforum.zoom.us/t/api-error-log-debug/75539/10 "2023-09-18T01:09:02Z")

</div>

Closed on September 18, 2023, 1:09am UTC

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

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [November 2, 2023, 4:04am UTC](https://devforum.zoom.us/t/api-error-log-debug/75539/11 "2023-11-02T04:04:44Z")

</div>

The CustCreate functionally is reserved for Zoom ISVs (Independent Software Vendors). If you want to keep the CustCreate API functionality, please contact the [Zoom ISV team](https://explore.zoom.us/en/isv/)and ask for an API Plan
