# 1001, User ... again :(

**URL:** <https://devforum.zoom.us/t/1001-user-again/26644>\
**Category:** API and Webhooks\
**Created:** [August 9, 2020, 5:03pm UTC](https://devforum.zoom.us/t/1001-user-again/26644 "2020-08-09T17:03:15Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![dariusz.walkiewicz](https://avatars.discourse-cdn.com/v4/letter/d/958977/32.png) [@dariusz.walkiewicz](https://devforum.zoom.us/u/dariusz.walkiewicz)\
**Post date:** [August 9, 2020, 5:03pm UTC](https://devforum.zoom.us/t/1001-user-again/26644/1 "2020-08-09T17:03:15Z")

</div>

Sorry for again, but i dont understand where is the problem. I have account and two user - with plan and without plan.

Sometimes when i use create meeting API all is ok.

But sometimes (for all account) i cant add meeting. I have two returns:

{“code”:1001,“message”:“User does not exist: \*\*\*\*\*_ **Thq8YxaFnps** _.”}  
or  
{“code”:200,“message”:“Invalid api key or secret.”}

I dont see this request in logs in [https://marketplace.zoom.us/user/logs](https://marketplace.zoom.us/user/logs) too. Rejection of the request when bad user oraz api keys is normal, but in this case userId and API keys its okey.

{  
“topic”: “Zaj\u0119cia grupy Grupa Angielski”,  
“type”: “2”,  
“start\_time”: “2020-08-18T07:00:00+02:00”,  
“duration”: 90,  
“timezone”: “Europe/Warsaw”,  
“password”: “”,  
“pmi”: “\*\*_724729_”,  
“recurrence”: {  
“type”: 1,  
“repeat\_interval”: 1,  
“end\_date\_time”: “2020-08-18T07:00:00+02:00”  
},  
“settings”: {  
“host\_video”: “true”,  
“participant\_video”: “true”,  
“cn\_meeting”: “false”,  
“in\_meeting”: “false”,  
“join\_before\_host”: “false”,  
“mute\_upon\_entry”: “false”,  
“watermark”: “false”,  
“approval\_type”: 2,  
“waiting\_room”: “true”,  
“use\_pmi”: “true”,  
“registration\_type”: 1,  
“audio”: “both”,  
“auto\_recording”: “disabled”,  
“enforce\_login”: “false”,  
“registrants\_email\_notification”: “false”  
}  
}

---

<div class="post-metadata">

**Author:** ![dariusz.walkiewicz](https://avatars.discourse-cdn.com/v4/letter/d/958977/32.png) [@dariusz.walkiewicz](https://devforum.zoom.us/u/dariusz.walkiewicz)\
**Post date:** [August 10, 2020, 7:39am UTC](https://devforum.zoom.us/t/1001-user-again/26644/2 "2020-08-10T07:39:16Z")

</div>

Today we made wide tests. The results are strange. We have three response type:

1. OK
2. “code”:1001,“message”:“User does not exist" - was described above
3. “code”:200,“message”:“Invalid api key or secret."

Ad. 3

[https://api.zoom.us/v2/](https://api.zoom.us/v2/)  
{  
“topic”: “Zaj\u0119cia grupy EK3 z dnia 2020-08-26 10:00”,  
“type”: “2”,  
“start\_time”: “2020-08-26T10:00:00+02:00”,  
“duration”: 60,  
“schedule\_for”: “\*\*\*\*\*\*77Thq8YxaFnps4xQ”,  
“timezone”: “Europe/Warsaw”,  
“password”: “”,  
“pmi”: null,  
“recurrence”: {  
“type”: 1,  
“repeat\_interval”: 1,  
“end\_date\_time”: “2020-08-26T10:00:00+02:00”  
},  
“settings”: {  
“host\_video”: “true”,  
“participant\_video”: “true”,  
“cn\_meeting”: “false”,  
“in\_meeting”: “false”,  
“join\_before\_host”: “false”,  
“mute\_upon\_entry”: “false”,  
“watermark”: “false”,  
“approval\_type”: 2,  
“waiting\_room”: “true”,  
“use\_pmi”: “false”,  
“registration\_type”: 1,  
“audio”: “both”,  
“auto\_recording”: “disabled”,  
“enforce\_login”: “false”,  
“registrants\_email\_notification”: “false”  
}  
}  
{  
“Authorization”: "Bearer ",  
“Content-Type”: “application/json”,  
“Accept”: “application/json”  
}

Exception:  
GuzzleHttp\Exception\ClientException: Client error: `POST https://api.zoom.us/v2/users/ ****** 77Thq8YxaFnps4xQ/meetings` resulted in a `400 Bad Request` response:  
{“code”:200,“message”:“Invalid api key or secret.”}  
in /core/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113  
Stack trace:  
#0 /core/vendor/guzzlehttp/guzzle/src/Middleware.php(65): GuzzleHttp\Exception\RequestException::create(Object(GuzzleHttp\Psr7\Request), Object(GuzzleHttp\Psr7\Response))  
#1 /core/vendor/guzzlehttp/promises/src/Promise.php(203): GuzzleHttp\Middleware::GuzzleHttp{closure}(Object(GuzzleHttp\Psr7\Response))  
#2 /core/vendor/guzzlehttp/promises/src/Promise.php(156): GuzzleHttp\Promise\Promise::callHandler(1, Object(GuzzleHttp\Psr7\Response), Array)  
#3 /core/vendor/guzzlehttp/promises/src/TaskQueue.php(47): GuzzleHttp\Promise\Promise::GuzzleHttp\Promise{closure}()  
#4 /core/vendor/guzzlehttp/promises/src/Promise.php(246): GuzzleHttp\Promise\TaskQueue-\>run(true)  
#5 /core/vendor/guzzlehttp/promises/src/Promise.php(223): GuzzleHttp\Promise\Promise-\>invokeWaitFn()  
#6 /core/vendor/guzzlehttp/promises/src/Promise.php(267): GuzzleHttp\Promise\Promise-\>waitIfPending()  
#7 /core/vendor/guzzlehttp/promises/src/Promise.php(225): GuzzleHttp\Promise\Promise-\>invokeWaitList()  
#8 /core/vendor/guzzlehttp/promises/src/Promise.php(62): GuzzleHttp\Promise\Promise-\>waitIfPending()  
#9 /core/vendor/guzzlehttp/guzzle/src/Client.php(183): GuzzleHttp\Promise\Promise-\>wait()  
#10 /Zoom/Interfaces/Request.php(109): GuzzleHttp\Client-\>request(‘POST’, ‘[https://api.zoo](https://api.zoo)…’, Array)  
#11 /Zoom/Endpoint/MeetingsService.php(44): AppBundle\Service\Zoom\Interfaces\Request-\>post(‘users/\*\*\*\*\*\*77T…’, Array)

I am very confused because in other cases it works for the same user. I will try to update the guzzlehttp library.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [August 10, 2020, 9:30pm UTC](https://devforum.zoom.us/t/1001-user-again/26644/3 "2020-08-10T21:30:31Z")

</div>

Hey @dariusz.walkiewicz,

Can you please provide steps to reproduce the issue, including the request url and request body JSON?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![dariusz.walkiewicz](https://avatars.discourse-cdn.com/v4/letter/d/958977/32.png) [@dariusz.walkiewicz](https://devforum.zoom.us/u/dariusz.walkiewicz)\
**Post date:** [August 17, 2020, 6:53pm UTC](https://devforum.zoom.us/t/1001-user-again/26644/4 "2020-08-17T18:53:35Z")

</div>

**First example (work corectly):**  
[https://api.zoom.us/v2/](https://api.zoom.us/v2/)  
{  
“topic”: “Zaj\u0119cia grupy Grupa 1-osobowa z dnia 2020-08-20 17:00”,  
“type”: “2”,  
“start\_time”: “2020-08-20T17:00:00+02:00”,  
“duration”: 60,  
“schedule\_for”: “\*\*\*\*\*qdPRRKLht\_GlNZy9Q”,  
“timezone”: “Europe/Warsaw”,  
“password”: “”,  
“pmi”: null,  
“recurrence”: {  
“type”: 1,  
“repeat\_interval”: 1,  
“end\_date\_time”: “2020-08-20T17:00:00+02:00”  
},  
“settings”: {  
“host\_video”: “true”,  
“participant\_video”: “true”,  
“cn\_meeting”: “false”,  
“in\_meeting”: “false”,  
“join\_before\_host”: “false”,  
“mute\_upon\_entry”: “false”,  
“watermark”: “false”,  
“approval\_type”: 2,  
“waiting\_room”: “true”,  
“use\_pmi”: “false”,  
“registration\_type”: 1,  
“audio”: “both”,  
“auto\_recording”: “disabled”,  
“enforce\_login”: “false”,  
“registrants\_email\_notification”: “false”  
}  
}  
{  
“Authorization”: "Bearer ",  
“Content-Type”: “application/json”,  
“Accept”: “application/json”  
}

**Response:**  
{  
“uuid”: “GH3aBx0ZTqStGzCxTdT+Wg==”,  
“id”: \*\*\*\*\*\*\*\*\*\*\*,  
“host\_id”: “\*\*\*\*\*qdPRRKLht\_GlNZy9Q”,  
“topic”: “Zaj\u0119cia grupy Grupa 1-osobowa z dnia 2020-08-20 17:00”,  
“type”: 2,  
“status”: “waiting”,  
“start\_time”: “2020-08-20T15:00:00Z”,  
“duration”: 60,  
“timezone”: “Europe/Warsaw”,  
“created\_at”: “2020-08-17T18:40:27Z”,  
“start\_url”: “[https://us02web.zoom.us/s/86999907001?zak=](https://us02web.zoom.us/s/86999907001?zak=)”,  
“join\_url”: “[https://us02web.zoom.us/j/86999907001](https://us02web.zoom.us/j/86999907001)”,  
“settings”: {  
“host\_video”: true,  
“participant\_video”: true,  
“cn\_meeting”: false,  
“in\_meeting”: false,  
“join\_before\_host”: false,  
“mute\_upon\_entry”: false,  
“watermark”: false,  
“use\_pmi”: false,  
“approval\_type”: 2,  
“audio”: “both”,  
“auto\_recording”: “none”,  
“enforce\_login”: false,  
“enforce\_login\_domains”: “”,  
“alternative\_hosts”: “”,  
“close\_registration”: false,  
“registrants\_confirmation\_email”: true,  
“waiting\_room”: true,  
“request\_permission\_to\_unmute\_participants”: false,  
“global\_dial\_in\_countries”: [  
“US”  
],  
“global\_dial\_in\_numbers”: [  
{  
“country\_name”: “US”,  
“number”: “+1 9292056099”,  
“type”: “toll”,  
“country”: “US”  
},  
{  
“country\_name”: “US”,  
“number”: “+1 2532158782”,  
“type”: “toll”,  
“country”: “US”  
},  
{  
“country\_name”: “US”,  
“number”: “+1 3017158592”,  
“type”: “toll”,  
“country”: “US”  
},  
{  
“country\_name”: “US”,  
“number”: “+1 3126266799”,  
“type”: “toll”,  
“country”: “US”  
},  
{  
“country\_name”: “US”,  
“number”: “+1 3462487799”,  
“type”: “toll”,  
“country”: “US”  
},  
{  
“country\_name”: “US”,  
“number”: “+1 6699006833”,  
“type”: “toll”,  
“country”: “US”  
}  
],  
“registrants\_email\_notification”: false,  
“meeting\_authentication”: false  
},  
“code”: 201  
}

**Second (not correctly):**  
[https://api.zoom.us/v2/](https://api.zoom.us/v2/)  
{  
“topic”: “Zaj\u0119cia grupy Grupa Angielski Zaawansowany z dnia 2020-08-21 10:00”,  
“type”: “2”,  
“start\_time”: “2020-08-21T10:00:00+02:00”,  
“duration”: 60,  
“schedule\_for”: “\*\*\*\*\*qdPRRKLht\_GlNZy9Q”,  
“timezone”: “Europe/Warsaw”,  
“password”: “”,  
“pmi”: “6829139254”,  
“recurrence”: {  
“type”: 1,  
“repeat\_interval”: 1,  
“end\_date\_time”: “2020-08-21T10:00:00+02:00”  
},  
“settings”: {  
“host\_video”: “true”,  
“participant\_video”: “true”,  
“cn\_meeting”: “false”,  
“in\_meeting”: “false”,  
“join\_before\_host”: “false”,  
“mute\_upon\_entry”: “false”,  
“watermark”: “false”,  
“approval\_type”: 2,  
“waiting\_room”: “true”,  
“use\_pmi”: “true”,  
“registration\_type”: 1,  
“audio”: “both”,  
“auto\_recording”: “disabled”,  
“enforce\_login”: “false”,  
“registrants\_email\_notification”: “false”  
}  
}  
{  
“Authorization”: “Bearer”,  
“Content-Type”: “application/json”,  
“Accept”: “application/json”  
}

**Exception:**  
GuzzleHttp\Exception\ClientException: Client error: `POST https://api.zoom.us/v2/users/ ***** qdPRRKLht_GlNZy9Q/meetings` resulted in a `404 Not Found` response:  
{“code”:1001,“message”:“User does not exist: \*\*\*\*\*qdPRRKLht\_GlNZy9Q.”}  
in …/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113

Sometimes i have exception: bad api keys. And i dont see both types request in logs [https://marketplace.zoom.us/user/logs](https://marketplace.zoom.us/user/logs).

\*This post has been edited to remove any meeting / webinar IDs

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [August 19, 2020, 5:48pm UTC](https://devforum.zoom.us/t/1001-user-again/26644/5 "2020-08-19T17:48:10Z")

</div>

Hey @dariusz.walkiewicz,

Is user ` ***** qdPRRKLht_GlNZy9Q` in apart of your Zoom account? Please see the prerequisites for the schedule\_for feature here:

> **[Scheduling privilege](https://support.zoom.us/hc/en-us/articles/201362803-Scheduling-Privilege)**
>
> Overview
> Scheduling privilege is designed for a user or an executive admin to:
> 
> You can assign or delegate a user or multiple users in your account to schedule meetings on your behalf. 
> You can als...

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![dariusz.walkiewicz](https://avatars.discourse-cdn.com/v4/letter/d/958977/32.png) [@dariusz.walkiewicz](https://devforum.zoom.us/u/dariusz.walkiewicz)\
**Post date:** [August 19, 2020, 6:23pm UTC](https://devforum.zoom.us/t/1001-user-again/26644/6 "2020-08-19T18:23:21Z")

</div>

In my opinion, schedule\_for is not problem. I added schedule\_for to interface because i looked for solution.

In one case i can add meeting but in other - using this same interface, methods, keys and id user - i have response: user does not exist or invalid api key or secret. I dont see this transaction in log too.

I using three steps to add meeting:

- i geting users list from platform (via API /users) - always working good and i see this transaction in log
- check meetings for selected user (via API /users/{userId}/meetings) - always working good and i see this transaction in log
- i create meeting (via API /users/{userId}/meetings) - in ~90-95% working, but sometimes (using this same interface, methods, keys and id user) i have response: user does not exist or invalid api key or secret. And i dont see this transaction in log.

I don’t understand why i get info - User does not exist or Invalid api key or secret - when one step before create meeting via /users/{userId}/meetings all works fine.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [August 21, 2020, 8:01pm UTC](https://devforum.zoom.us/t/1001-user-again/26644/7 "2020-08-21T20:01:48Z")

</div>

Hey @dariusz.walkiewicz,

Can you please share the userIds that are not working when creating the meetings to [developersupport@zoom.us](mailto:developersupport@zoom.us) so we can debug?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![dariusz.walkiewicz](https://avatars.discourse-cdn.com/v4/letter/d/958977/32.png) [@dariusz.walkiewicz](https://devforum.zoom.us/u/dariusz.walkiewicz)\
**Post date:** [August 24, 2020, 8:08am UTC](https://devforum.zoom.us/t/1001-user-again/26644/8 "2020-08-24T08:08:31Z")

</div>

Of course. I sending.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [August 26, 2020, 10:23pm UTC](https://devforum.zoom.us/t/1001-user-again/26644/9 "2020-08-26T22:23:52Z")

</div>

Thanks @dariusz.walkiewicz!

-Tommy

---

<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 26, 2020, 8:23am UTC](https://devforum.zoom.us/t/1001-user-again/26644/10 "2020-09-26T08:23:53Z")

</div>

Closed on September 26, 2020, 8:23am UTC

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