Zoom Phone Recording upload

Description
I want to create a Zapier, in order to get Recording from Zoom Phone and upload to google drive

Error
Invalid API Response: - Results must be an array, got: object, ({“page_count”:1,“page_number”:1,“page_size”:30,"to) - Got a result missing the “id” property (1) What happened (You are seeing this because you are an admin): Executing triggers.new_recording.operation.perform with bundle Invalid API Response: - Results must be an array, got: object, ({“page_count”:1,“page_number”:1,“page_size”:30,"to) - Got a result missing the “id” property (1) Console logs: Stack trace: CheckError: Invalid API Response: - Results must be an array, got: object, ({“page_count”:1,“page_number”:1,“page_size”:30,"to) - Got a result missing the “id” property (1) at checkOutput (/var/task/node_modules/zapier-platform-core/src/app-middlewares/after/checks.js:42:15) at Object.collector.then.newOutput (/var/task/node_modules/zapier-platform-core/src/middleware.js:80:37) at bound (domain.js:402:14) at Object.runBound (domain.js:415:12) at Object.tryCatcher (/var/task/node_modules/bluebird/js/release/util.js:16:23) at Promise._settlePromiseFromHandler (/var/task/node_modules/bluebird/js/release/promise.js:517:31) at Promise._settlePromise (/var/task/node_modules/bluebird/js/release/promise.js:574:18) at Promise._settlePromiseCtx (/var/task/node_modules/bluebird/js/release/promise.js:611:10) at _drainQueueStep (/var/task/node_modules/bluebird/js/release/async.js:142:12) at _drainQueue (/var/task/node_modules/bluebird/js/release/async.js:131:9) at Async._drainQueues (/var/task/node_modules/bluebird/js/release/async.js:147:5) at Immediate.Async.drainQueues [as _onImmediate] (/var/task/node_modules/bluebird/js/release/async.js:17:14) at runCallback (timers.js:705:18) at tryOnImmediate (timers.js:676:5) at processImmediate (timers.js:658:5) at process.topLevelDomainCallback (domain.js:126:23)

Which App Type (OAuth / Chatbot / JWT / Webhook)?
OAuth2

Which Endpoint/s?
https://api.zoom.us/v2/users/

How To Reproduce (If applicable)
Steps to reproduce the behavior:

Even if I change code to:
const options = {
url: ‘https://api.zoom.us/v2/users’,
method: ‘GET’,
headers: {
‘Authorization’: Bearer ${bundle.authData.access_token}
},

}

return z.request(options)
.then((response) => {
response.throwForStatus();
const results = JSON.parse(response.content)
results.userId = results.userId;

// You can do any parsing you need for results here before returning them

return [results];

});

I still have this

Invalid API Response: - Got a result missing the “id” property ({“page_count”:1,“page_number”:1,“page_size”:30,“total_records”:12,“next_page_token”:"",“users”:[{“id”:"-YDO6IYTRWKDtqW65Kzanw",“first_name”:“Stephen”,“last_name”:“Golding”,“email”:“stepheng@collegeforadultlearning.edu.au”,“type”:2,“pmi”:5454735710,“t) What happened (You are seeing this because you are an admin): Executing triggers.new_recording.operation.perform with bundle Invalid API Response: - Got a result missing the “id” property ({“page_count”:1,“page_number”:1,“page_size”:30,“total_records”:12,“next_page_token”:”",“users”:[{“id”:"-YDO6IYTRWKDtqW65Kzanw",“first_name”:“Stephen”,“last_name”:“Golding”,“email”:“stepheng@collegeforadultlearning.edu.au”,“type”:2,“pmi”:5454735710,“t) Console logs: Stack trace: CheckError: Invalid API Response: - Got a result missing the “id” property ({“page_count”:1,“page_number”:1,“page_size”:30,“total_records”:12,“next_page_token”:”",“users”:[{“id”:"-YDO6IYTRWKDtqW65Kzanw",“first_name”:“Stephen”,“last_name”:“Golding”,“email”:“stepheng@collegeforadultlearning.edu.au”,“type”:2,“pmi”:5454735710,"t) at checkOutput (/var/task/node_modules/zapier-platform-core/src/app-middlewares/after/checks.js:42:15) at Object.collector.then.newOutput (/var/task/node_modules/zapier-platform-core/src/middleware.js:80:37) at bound (domain.js:402:14) at Object.runBound (domain.js:415:12) at Object.tryCatcher (/var/task/node_modules/bluebird/js/release/util.js:16:23) at Promise._settlePromiseFromHandler (/var/task/node_modules/bluebird/js/release/promise.js:517:31) at Promise._settlePromise (/var/task/node_modules/bluebird/js/release/promise.js:574:18) at Promise._settlePromiseCtx (/var/task/node_modules/bluebird/js/release/promise.js:611:10) at _drainQueueStep (/var/task/node_modules/bluebird/js/release/async.js:142:12) at _drainQueue (/var/task/node_modules/bluebird/js/release/async.js:131:9) at Async._drainQueues (/var/task/node_modules/bluebird/js/release/async.js:147:5) at Immediate.Async.drainQueues [as _onImmediate] (/var/task/node_modules/bluebird/js/release/async.js:17:14) at runCallback (timers.js:705:18) at tryOnImmediate (timers.js:676:5) at processImmediate (timers.js:658:5) at process.topLevelDomainCallback (domain.js:126:23)

If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

Hey @nguyent,

Thanks for reaching out about this. To clarify, are you running into issues when you test this API request outside of Zapier (such as in Postman or cURL)?

Based on the error and screenshot, it seems like this might be a Zapier error based on the parsing of the API response and what it’s expecting. By default, the Zoom API response will return a JSON object. If your Zapier integration is expecting an array, you will need to ensure you’re parsing this beforehand.

Let me know if you have trouble with this request outside of Zapier.

Thanks,
Will

Hi Will, yes, so what i am trying to do is using Zapier to get a Zoom Phone Recording to Google Drive

and it is API request from Zapier

Hi @nguyent,

Got it, thanks for confirming.

My recommendation would be to ensure that you’re correctly parsing the Zoom API response as it’s expected by Zapier. If you’re having trouble with this or aren’t sure what Zapier is expecting, I might recommend reaching out to their Support Team as well.

Thanks,
Will

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