Description
A workflow I had working on Pipedream listened for new recordings on our business account. It takes the recording and saves it to Google Drive and then deletes the recording. It worked fine in May. When we started back in August, it no longer will delete the recording if I am not the owner of the meeting. So the listener works for all users, but the delete only works for me. I am an admin on the account and can delete manually in the Zoom interface, but not through the api.
Error
I am getting 401 and 404 at different times.
Which App Type (OAuth / Chatbot / JWT / Webhook)?
Oauth. I’m using the Pipedream Zoom Admin object
Which Endpoint/s?
v2
The tutorial I adapted
How To Reproduce (If applicable)
I’m not sure how to replicate it.
Here’s the code I’m using on Pipedream using Node.js
const axios = require(“axios”)
// See the API docs: https://marketplace.zoom.us/docs/api-reference/zoom-api/cloud-recording/recordingdelete
const config = {
method: “DELETE”,
url: https://api.zoom.us/v2/meetings/${params.meetingId}/recordings
,
params: {
action: params.action,
meetingId: params.meetingId
},
headers: {
Authorization: `Bearer ${auths.zoom_admin.oauth_access_token}`,
"Content-Type": "application/json"
}
}
// A 204 response indicates the recording was successfully deleted
return await axios(config)