# Automatic Cloud Recording not working

**URL:** <https://devforum.zoom.us/t/automatic-cloud-recording-not-working/93005>\
**Category:** API and Webhooks\
**Tags:** api\
**Created:** [August 7, 2023, 5:14am UTC](https://devforum.zoom.us/t/automatic-cloud-recording-not-working/93005 "2023-08-07T05:14:45Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![islamiccyb.erdentist](https://avatars.discourse-cdn.com/v4/letter/i/c4cdca/32.png) [@islamiccyb.erdentist](https://devforum.zoom.us/u/islamiccyb.erdentist)\
**Post date:** [August 7, 2023, 5:14am UTC](https://devforum.zoom.us/t/automatic-cloud-recording-not-working/93005/1 "2023-08-07T05:14:45Z")

</div>

I have an issue where the auto record in my meeting is suddenly unusable,  
the case, I created a meeting link using the create meeting API, and when I started the meeting, the automatic record did not work  
but when I create a meeting using the desktop zoom application, the meeting can record automatically

can you help me, what is the cause? this happened suddenly, for before it could run smoothly

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [August 8, 2023, 6:32pm UTC](https://devforum.zoom.us/t/automatic-cloud-recording-not-working/93005/2 "2023-08-08T18:32:31Z")

</div>

Hi @islamiccyb.erdentist  
Thanks for reaching out to the Zoom Developer forum and welcome to our community!  
Could you please share with me the entire request body that you are sending when creating the meeting so I can take a look at your request and try to replicate this issue on my end?  
Cheers,  
Elisa

---

<div class="post-metadata">

**Author:** ![islamiccyb.erdentist](https://avatars.discourse-cdn.com/v4/letter/i/c4cdca/32.png) [@islamiccyb.erdentist](https://devforum.zoom.us/u/islamiccyb.erdentist)\
**Post date:** [August 9, 2023, 2:53am UTC](https://devforum.zoom.us/t/automatic-cloud-recording-not-working/93005/3 "2023-08-09T02:53:46Z")

</div>

like this  
exports.createMeetings = async params =\> {  
const { userId, topic, duration, agenda, roomType } = params;  
const token = await jwtZoom();  
const url = `${process.env.ZOOM_API_URL}users/${userId}/meetings`;  
const payload = {  
topic: topic || ‘Islamic Cyber Dentistry’,  
type: 1,  
duration: duration || 120,  
timezone: ‘Asia/Jakarta’,  
password: ‘xxxx’,  
agenda: agenda || ‘Islamic Cyber Dentistry’,  
settings: payloadSettings,  
roomType: roomType || ‘Islamic Cyber Dentistry’,  
};  
// console.log({ token, url, payload });  
const response = await axios.post(url, payload, {  
headers: {  
‘Content-Type’: ‘application/json’,  
Authorization: `Bearer ${token}`,  
},  
json: true,  
});  
if (!response) {  
throw new Error(‘Cannot add meetings’);  
}  
if (response.status !== 201) {  
throw new Error(‘Cannot add meetings’);  
}  
return response.data;  
};

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [August 9, 2023, 1:23pm UTC](https://devforum.zoom.us/t/automatic-cloud-recording-not-working/93005/4 "2023-08-09T13:23:20Z")

</div>

Hi @islamiccyb.erdentist  
thanks for sharing this with me, but I noticed that you did not share the payloadSettings with me., it would be helpful if you can share that with me as well,

---

<div class="post-metadata">

**Author:** ![islamiccyb.erdentist](https://avatars.discourse-cdn.com/v4/letter/i/c4cdca/32.png) [@islamiccyb.erdentist](https://devforum.zoom.us/u/islamiccyb.erdentist)\
**Post date:** [August 9, 2023, 3:30pm UTC](https://devforum.zoom.us/t/automatic-cloud-recording-not-working/93005/5 "2023-08-09T15:30:12Z")

</div>

this is payloadSettings  
const payloadSettings = {  
host\_video: true,  
participant\_video: true,  
join\_before\_host: false,  
mute\_upon\_entry: true,  
watermark: false,  
use\_pmi: false,  
approval\_type: 0,  
audio: ‘both’,  
auto\_recording: ‘cloud’,  
enforce\_login: false,  
waiting\_room: false,  
};

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [August 9, 2023, 3:56pm UTC](https://devforum.zoom.us/t/automatic-cloud-recording-not-working/93005/6 "2023-08-09T15:56:49Z")

</div>

@islamiccyb.erdentist  
Thanks, I will do some testing on my end and will come back to you

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [August 9, 2023, 4:22pm UTC](https://devforum.zoom.us/t/automatic-cloud-recording-not-working/93005/7 "2023-08-09T16:22:42Z")

</div>

Hi @islamiccyb.erdentist  
I did some testing on my end and it looks like you are setting the type of the meeting to be an instant meeting type 1 which uses the PMI of the host.  
I would suggest you change the type of the meeting to type 2 to be a scheduled meeting and that way the autorecording\_cloud will be applied.

Also, make sure to go to your Admin Tab \> Account management \> Account settings \> Recording and enable the setting automatic recording to “record in the cloud”

 ![Screenshot 2023-08-09 at 12.21.24 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/0/4/041440a52b77abdbe809c55dba6f23ec5e347816.png)

---

<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:** [August 24, 2023, 9:11pm UTC](https://devforum.zoom.us/t/automatic-cloud-recording-not-working/93005/9 "2023-08-24T21:11:04Z")

</div>

Closed on August 24, 2023, 9:11pm UTC

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