# UNABLE TO CREATE RECURRING MEETING

**URL:** <https://devforum.zoom.us/t/unable-to-create-recurring-meeting/401>\
**Category:** API and Webhooks\
**Created:** [October 10, 2017, 8:54pm UTC](https://devforum.zoom.us/t/unable-to-create-recurring-meeting/401 "2017-10-10T20:54:52Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Herman\_Spencer](https://avatars.discourse-cdn.com/v4/letter/h/b5a626/32.png) [@Herman\_Spencer](https://devforum.zoom.us/u/Herman_Spencer)\
**Post date:** [October 10, 2017, 8:54pm UTC](https://devforum.zoom.us/t/unable-to-create-recurring-meeting/401/1 "2017-10-10T20:54:52Z")

</div>

&nbsp;Hi, I am trying to create a recurring meeting but am getting the following error. I am using SpringFramework’s RestTemplate to make the request.

I have set the api key, secret etc in the request object but am getting the following error

{error={code=300, message=Api key and secret are required.}}

If I&nbsp;pass the api key etc as query parameter, it works.

I cant use query parameters since the “recurrence” object needs to be passed too.

Thanks.

---

<div class="post-metadata">

**Author:** ![Joshua\_Woodward1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/joshua_woodward1/32/1480_2.png) [@Joshua\_Woodward1](https://devforum.zoom.us/u/Joshua_Woodward1)\
**Post date:** [October 10, 2017, 9:06pm UTC](https://devforum.zoom.us/t/unable-to-create-recurring-meeting/401/2 "2017-10-10T21:06:09Z")

</div>

You should be able to pass the key/secret in the body as well

&nbsp;

---

<div class="post-metadata">

**Author:** ![Herman\_Spencer](https://avatars.discourse-cdn.com/v4/letter/h/b5a626/32.png) [@Herman\_Spencer](https://devforum.zoom.us/u/Herman_Spencer)\
**Post date:** [October 10, 2017, 9:34pm UTC](https://devforum.zoom.us/t/unable-to-create-recurring-meeting/401/3 "2017-10-10T21:34:02Z")

</div>

Here’s my request and code, and the error I am getting back

params Map :&nbsp;

{option\_jbh=true, option\_participants\_video=true, option\_host\_video=true, option\_audio=both, type=8, host\_id=XXXXXXXX, duration=30, recurrence={end\_times=3, repeat\_interval=2, type=2, weekly\_days=4}, start\_time=10/10/17 3:00 PM, api\_key=XXXXXXXXXX topic=Test, option\_auto\_record\_type=none, api\_secret=XXXXXXXXX}

&nbsp;

RestTemplate template = new RestTemplate();

ResponseEntity\<String\> responseFromService = template.postForEntity(endPoint, params, String.class);

&nbsp;

{error={code=300, message=Api key and secret are required.}}

---

<div class="post-metadata">

**Author:** ![Joshua\_Woodward1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/joshua_woodward1/32/1480_2.png) [@Joshua\_Woodward1](https://devforum.zoom.us/u/Joshua_Woodward1)\
**Post date:** [October 10, 2017, 10:01pm UTC](https://devforum.zoom.us/t/unable-to-create-recurring-meeting/401/4 "2017-10-10T22:01:27Z")

</div>

What do you see when you visit&nbsp;[https://developer.zoom.us/me/call-logs/](https://developer.zoom.us/me/call-logs/)

&nbsp;

Did zoom get the full body? Not familiar with RestTemplate, is it sending as a JSON payload or form url encoded?

---

<div class="post-metadata">

**Author:** ![Herman\_Spencer](https://avatars.discourse-cdn.com/v4/letter/h/b5a626/32.png) [@Herman\_Spencer](https://devforum.zoom.us/u/Herman_Spencer)\
**Post date:** [October 10, 2017, 10:44pm UTC](https://devforum.zoom.us/t/unable-to-create-recurring-meeting/401/5 "2017-10-10T22:44:23Z")

</div>

This is what I see in the call logs

&nbsp;

&nbsp;

Method / Endpoint

POST [https://api.zoom.us/v1/meeting/create](https://api.zoom.us/v1/meeting/create)

Headers

accept-encoding: gzip, deflate, br  
accept: application/json  
connection: close  
content-type: application/x-www-form-urlencoded  
user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10\_12\_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36

Params

api\_key: xxxxxxg  
api\_secret: \*\*\*\*\*\*  
duration: 30  
host\_id:&nbsp;XXXXX  
option\_audio: both  
option\_auto\_record\_type: local  
option\_host\_video: true  
option\_participants\_video: true  
option\_start\_type: video  
recurrence: {type:2, weekly\_days:“4”, end\_times:3, repeat\_interval:2}  
registration\_type: 1  
start\_time: 10/10/17 3:00 PM  
topic: Test  
type: 8

Body

N/A

Response Information  
Status  
200

Headers  
Set-Cookie: cred=B61E802B06B47F2FEF7A1C83FA568F4C; Path=/; Secure; HttpOnly

Data  
{  
“error”: {  
“code”: 300,  
“message”: “Invalid parameter: recurrence”  
}  
}

---

<div class="post-metadata">

**Author:** ![Herman\_Spencer](https://avatars.discourse-cdn.com/v4/letter/h/b5a626/32.png) [@Herman\_Spencer](https://devforum.zoom.us/u/Herman_Spencer)\
**Post date:** [October 11, 2017, 4:09pm UTC](https://devforum.zoom.us/t/unable-to-create-recurring-meeting/401/6 "2017-10-11T16:09:24Z")

</div>

I tried with&nbsp;a Rest client on chrome and I still get the following error and I dont see the request in the call logs

&nbsp;

REQUEST :

{“option\_jbh”:true,“option\_participants\_video”:true,“option\_host\_video”:true,“option\_audio”:“both”,“type”:“8”,“host\_id”:“XXXXXXXXX”,“duration”:“30”,“recurrence”:{“end\_times”:3,“repeat\_interval”:2,“type”:“2”,“weekly\_days”:“4”},“start\_time”:“10/10/17 3:00 PM”,“api\_key”:“XXXXXXXXXXX”,“topic”:“Milfar Test”,“option\_auto\_record\_type”:“none”,“api\_secret”:“XXXXXXXXXX”}

&nbsp;

RESPONSE:

{

“error”:&nbsp;  
{

“code”:&nbsp;300,

“message”:&nbsp;“Api key and secret are required.”

}

&nbsp;

}

---

<div class="post-metadata">

**Author:** ![Joshua\_Woodward1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/joshua_woodward1/32/1480_2.png) [@Joshua\_Woodward1](https://devforum.zoom.us/u/Joshua_Woodward1)\
**Post date:** [October 11, 2017, 6:41pm UTC](https://devforum.zoom.us/t/unable-to-create-recurring-meeting/401/7 "2017-10-11T18:41:56Z")

</div>

Try by passing the minimum parameters; api\_key, api\_secret, host\_id, type, topic - start debugging from there

---

<div class="post-metadata">

**Author:** ![Herman\_Spencer](https://avatars.discourse-cdn.com/v4/letter/h/b5a626/32.png) [@Herman\_Spencer](https://devforum.zoom.us/u/Herman_Spencer)\
**Post date:** [October 11, 2017, 6:46pm UTC](https://devforum.zoom.us/t/unable-to-create-recurring-meeting/401/8 "2017-10-11T18:46:54Z")

</div>

It doesnt work with just the minimal parameter.&nbsp;

&nbsp;

{“host\_id”:“XXXXXXX”,“api\_key”:"XXXXXXXXX,“topic”:“Milfar Test”,“api\_secret”:“XXXXXXXXX”}

&nbsp;

{

“error”:&nbsp;  
{

“code”:&nbsp;300,

“message”:&nbsp;“Api key and secret are required.”

}

&nbsp;

}

&nbsp;

&nbsp;

It doesnt work here either :&nbsp;[https://developer.zoom.us/playground/&nbsp;&nbsp;](https://developer.zoom.us/playground/%C2%A0%C2%A0)

&nbsp;

I dont see the options to put in the api\_secret & api\_key in the playground

---

<div class="post-metadata">

**Author:** ![Joshua\_Woodward1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/joshua_woodward1/32/1480_2.png) [@Joshua\_Woodward1](https://devforum.zoom.us/u/Joshua_Woodward1)\
**Post date:** [October 11, 2017, 6:56pm UTC](https://devforum.zoom.us/t/unable-to-create-recurring-meeting/401/9 "2017-10-11T18:56:42Z")

</div>

can you send an email ([joshua.woodward@zoom.us](mailto:joshua.woodward@zoom.us)) with the the email of your zoom account so i can look it up and debug

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 5:19pm UTC](https://devforum.zoom.us/t/unable-to-create-recurring-meeting/401/10 "2020-08-21T17:19:35Z")

</div>

Closed on August 21, 2020, 5:19pm UTC


