# API bug — GET Cloud Recording Usage Report

**URL:** <https://devforum.zoom.us/t/api-bug-get-cloud-recording-usage-report/36726>\
**Category:** API and Webhooks\
**Created:** [November 23, 2020, 4:07pm UTC](https://devforum.zoom.us/t/api-bug-get-cloud-recording-usage-report/36726 "2020-11-23T16:07:24Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![gbeber](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gbeber/32/481_2.png) [@gbeber](https://devforum.zoom.us/u/gbeber)\
**Post date:** [November 23, 2020, 4:07pm UTC](https://devforum.zoom.us/t/api-bug-get-cloud-recording-usage-report/36726/1 "2020-11-23T16:07:25Z")

</div>

We are calling /report/cloud\_recording to get our available storage so we can run an archive script when needed. It was working fine until we just ran another script to delete recordings under 5MB, which resulted in 615 recordings being moved to trash.

Not sure if they are related, but since moving those 615 to trash the cloud storage API has returned no data. The cloud\_recording\_storage array is empty for anything after 20 November. Here is the output with from:to entered as 2020-11-16 to 2020-11-22. Note the missing data for 21 November and 22 November. This was run today, on 23 November.

{  
“from”: “2020-11-16”,  
“to”: “2020-11-22”,  
“cloud\_recording\_storage”: [  
{  
“date”: “2020-11-16”,  
“usage”: “464.33 GB”,  
“plan\_usage”: “500 GB”,  
“free\_usage”: “21.5 GB”  
},  
{  
“date”: “2020-11-17”,  
“usage”: “466.88 GB”,  
“plan\_usage”: “500 GB”,  
“free\_usage”: “21.5 GB”  
},  
{  
“date”: “2020-11-18”,  
“usage”: “469.19 GB”,  
“plan\_usage”: “500 GB”,  
“free\_usage”: “21.5 GB”  
},  
{  
“date”: “2020-11-19”,  
“usage”: “471.38 GB”,  
“plan\_usage”: “500 GB”,  
“free\_usage”: “21.5 GB”  
},  
{  
“date”: “2020-11-20”,  
“usage”: “471.54 GB”,  
“plan\_usage”: “500 GB”,  
“free\_usage”: “21.5 GB”  
}  
]  
}

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [November 24, 2020, 7:10pm UTC](https://devforum.zoom.us/t/api-bug-get-cloud-recording-usage-report/36726/2 "2020-11-24T19:10:20Z")

</div>

Hey @gbeber,

Thanks for reaching out about this, and happy to look into this for you.

If you extend the date range to a closing date of 11/23 or later, do you get the same results (still missing an entry for the 21st and 22nd? I’m wondering if there could be a slight delay in the availability of these days. Similarly, you’ll need to query 1 day beyond the data you’re trying to fetch.

Let me know—thanks!  
Will

---

<div class="post-metadata">

**Author:** ![gbeber](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gbeber/32/481_2.png) [@gbeber](https://devforum.zoom.us/u/gbeber)\
**Post date:** [November 24, 2020, 7:26pm UTC](https://devforum.zoom.us/t/api-bug-get-cloud-recording-usage-report/36726/3 "2020-11-24T19:26:22Z")

</div>

Thanks @will.zoom

I have been querying a day beyond the date I’m looking for, and I understand that current day’s data is not available. In my output above I did enter 2020-11-23 as ‘to’ date.

Here is output with 2020-11-24 as ‘to’. Looks like the 22nd magically appeared, but 21st still missing. And when I ran the query yesterday the usage for 22nd was wrong — about 10GB lower than what you see below:

{  
“from”: “2020-11-16”,  
“to”: “2020-11-23”,  
“cloud\_recording\_storage”: [  
{  
“date”: “2020-11-16”,  
“usage”: “464.33 GB”,  
“plan\_usage”: “500 GB”,  
“free\_usage”: “21.5 GB”  
},  
{  
“date”: “2020-11-17”,  
“usage”: “466.88 GB”,  
“plan\_usage”: “500 GB”,  
“free\_usage”: “21.5 GB”  
},  
{  
“date”: “2020-11-18”,  
“usage”: “469.19 GB”,  
“plan\_usage”: “500 GB”,  
“free\_usage”: “21.5 GB”  
},  
{  
“date”: “2020-11-19”,  
“usage”: “471.85 GB”,  
“plan\_usage”: “500 GB”,  
“free\_usage”: “21.5 GB”  
},  
{  
“date”: “2020-11-20”,  
“usage”: “471.54 GB”,  
“plan\_usage”: “500 GB”,  
“free\_usage”: “21.5 GB”  
},  
{  
“date”: “2020-11-22”,  
“usage”: “473.23 GB”,  
“plan\_usage”: “500 GB”,  
“free\_usage”: “21.5 GB”  
},  
{  
“date”: “2020-11-23”,  
“usage”: “473.23 GB”,  
“plan\_usage”: “500 GB”,  
“free\_usage”: “21.5 GB”  
}  
]  
}

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [November 25, 2020, 10:05pm UTC](https://devforum.zoom.us/t/api-bug-get-cloud-recording-usage-report/36726/4 "2020-11-25T22:05:59Z")

</div>

Hey @gbeber,

Can you please email our support team [developersupport@zoom.us](mailto:developersupport@zoom.us) with your Zoom Account Number and a link to this thread? From there, we’ll look into our logs and see what’s causing the issue.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![gbeber](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gbeber/32/481_2.png) [@gbeber](https://devforum.zoom.us/u/gbeber)\
**Post date:** [November 25, 2020, 10:32pm UTC](https://devforum.zoom.us/t/api-bug-get-cloud-recording-usage-report/36726/5 "2020-11-25T22:32:34Z")

</div>

Thanks @MaxM. Email has been sent as requested.

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [November 30, 2020, 6:29pm UTC](https://devforum.zoom.us/t/api-bug-get-cloud-recording-usage-report/36726/6 "2020-11-30T18:29:54Z")

</div>

Hey @gbeber,

I can see we’ve connected over at our support email, so I will continue the conversation with you there.

Thanks!  
Will

---

<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:** [December 31, 2020, 4:29am UTC](https://devforum.zoom.us/t/api-bug-get-cloud-recording-usage-report/36726/7 "2020-12-31T04:29:59Z")

</div>

Closed on December 31, 2020, 4:29am UTC

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