# Negative Values Returned by API

**URL:** https://devforum.zoom.us/t/negative-values-returned-by-api/7640
**Category:** API and Webhooks
**Created:** [January 22, 2020, 7:54pm UTC](https://devforum.zoom.us/t/negative-values-returned-by-api/7640 "2020-01-22T19:54:15Z")
**Posts on this page:** 15
**Page:** 1

<div class="post-metadata">

### Author: ![sohling](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/sohling/32/625_2.png) [@sohling](https://devforum.zoom.us/u/sohling)
#### Post date: [January 22, 2020, 7:54pm UTC](https://devforum.zoom.us/t/negative-values-returned-by-api/7640/1 "2020-01-22T19:54:15Z")

</div>

**Description**  
I have an API call that returns some negative values where negative values should be impossible.  
Is this a problem with the data in the Zoom system or an issue with the API and how should ingest this data?

**Error**  
Error 1) - Participant Duration \< 0  
Error 2) - Participant Attentiveness \< 0

**Which App Type?** - JWT app named ‘api\_jwt’

**Which Endpoint/s?**  
[https://api.zoom.us/v2/report/meetings/{meetingId}/participants](https://api.zoom.us/v2/report/meetings/%7BmeetingId%7D/participants)

**How To Reproduce (If applicable)**  
Error 1) Run GET with meetingID ‘zGmDzXivROqqLWJQ/NaZew==’  
\* note the 2nd participant \*  
Error 2) Run GET with meetingID ‘vdakxMRoQkSR67IcOynb8g==’  
\* note the 4th participant \*

Thank you for your time and if I should be contacting support in a different manner for these very specific questions, please let me know.

Sean Ohlinger

---

<div class="post-metadata">

### Author: ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)
#### Post date: [January 22, 2020, 8:53pm UTC](https://devforum.zoom.us/t/negative-values-returned-by-api/7640/2 "2020-01-22T20:53:31Z")

</div>

Hey @sohling,

This is the perfect way to contact us for these types of questions!

May I ask is this meeting an Instant Meeting?

Possible related thread:

> [@Events of Instant Meeting](https://devforum.zoom.us/t/events-of-instant-meeting/7525/9):
>
> Hey @heidi.zh.n Correct. Your Webhook will only be sent if the action happens on your Zoom account. Regarding the 0 for the duration, this is intended functionality for instant meetings. The duration in the meeting ended event is the scheduled duration for this meeting. The actual meeting duration time needs to be calculated by the meeting end time and the meeting start time. For instant meetings, the schedule duration time will be 0 minutes. Thanks for sharing your code. [Make sure to send…](https://marketplace.zoom.us/docs/api-reference/webhook-reference#notification-delivery)

Thanks,  
Tommy

---

<div class="post-metadata">

### Author: ![sohling](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/sohling/32/625_2.png) [@sohling](https://devforum.zoom.us/u/sohling)
#### Post date: [January 22, 2020, 9:07pm UTC](https://devforum.zoom.us/t/negative-values-returned-by-api/7640/3 "2020-01-22T21:07:47Z")

</div>

Hey Tommy,

Thanks so much for replying. What would be the best way to tell if it was an Instant Meeting?

Regarding the Duration of the participant, their Join and Leave times are as follows. This shows that the data says they joined the meeting after they left.

·  
"join\_time ":  
“2019-11-13T17:38:32Z”,

·  
"leave\_time ":  
“2019-11-13T17:32:57Z”,

Thanks,

Sean

---

<div class="post-metadata">

### Author: ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)
#### Post date: [January 22, 2020, 9:17pm UTC](https://devforum.zoom.us/t/negative-values-returned-by-api/7640/4 "2020-01-22T21:17:13Z")

</div>

Hey @sohling,

Thanks for providing those details. Can you share a full request and response payload so I can debug?

I can tell from the response payload if the meeting is Instant 🙂

-Tommy

---

<div class="post-metadata">

### Author: ![sohling](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/sohling/32/625_2.png) [@sohling](https://devforum.zoom.us/u/sohling)
#### Post date: [January 22, 2020, 9:43pm UTC](https://devforum.zoom.us/t/negative-values-returned-by-api/7640/5 "2020-01-22T21:43:52Z")

</div>

Hey Tommy,

I have anonymized the response as this is a forum and not private. This was retrieved thru the API call via Zooms website: [https://marketplace.zoom.us/docs/api-reference/zoom-api/reports/reportmeetingparticipants](https://marketplace.zoom.us/docs/api-reference/zoom-api/reports/reportmeetingparticipants)

**Using the call :**  
GET [https://api.zoom.us/v2/report/meetings/zGmDzXivROqqLWJQ/NaZew==/participants?page\_size=30](https://api.zoom.us/v2/report/meetings/zGmDzXivROqqLWJQ/NaZew==/participants?page_size=30)

I see one more oddity in the User\_id below which I’m not using in any of my code but figured I’d highlight it below  
{  
“next\_page\_token”: “”,  
“page\_count”: 1,  
“page\_size”: 30,  
“participants”: [  
{  
“attentiveness\_score”: “100.0%”,  
“duration”: 2817,  
“id”: “DJhbxRxxQdOagtgeg-uymA”,  
“join\_time”: “2019-11-13T17:32:56Z”,  
“leave\_time”: “2019-11-13T18:19:53Z”,  
“name”: “FIRSTNAME1 LASTNAME1”,  
“user\_email”: “EMAIL1”,  
**`"user_id": "167782402019-11-13 17:32:56:912"`**  
},  
{  
“attentiveness\_score”: “100.0%”,  
**`"duration": -335,`**  
“id”: “4FBlakE2THyyovoclhzLLw”,  
“join\_time”: “2019-11-13T17:38:32Z”,  
“leave\_time”: “2019-11-13T17:32:57Z”,  
“name”: " FIRSTNAME2 LASTNAME2",  
“user\_email”: " EMAIL2",  
“user\_id”: “33555456”  
}  
],  
“total\_records”: 2  
}

Here is the Participant Attentiveness Score Call issue **(highlighted below)** and response:  
GET [https://api.zoom.us/v2/report/meetings/vdakxMRoQkSR67IcOynb8g==/participants?page\_size=30](https://api.zoom.us/v2/report/meetings/vdakxMRoQkSR67IcOynb8g==/participants?page_size=30)

{  
“next\_page\_token”: “”,  
“page\_count”: 1,  
“page\_size”: 30,  
“participants”: [  
{  
“attentiveness\_score”: “100.0%”,  
“duration”: 3193,  
“id”: “GQ8Vz\_CrTdG9yIG6G9CdOw”,  
“join\_time”: “2019-09-26T01:28:47Z”,  
“leave\_time”: “2019-09-26T02:22:00Z”,  
“name”: “Name3”,  
“user\_email”: “”,  
“user\_id”: “16778240”  
},  
{  
“attentiveness\_score”: “60.97%”,  
“duration”: 3167,  
“id”: “JXD7jHUaRVq5Gym1UX2qCg”,  
“join\_time”: “2019-09-26T01:29:12Z”,  
“leave\_time”: “2019-09-26T02:21:59Z”,  
“name”: " Name 4",  
“user\_email”: “”,  
“user\_id”: “16779264”  
},  
{  
“attentiveness\_score”: “72.13%”,  
“duration”: 3086,  
“id”: “HRKr9RIEQQGp1efwn6m7NA”,  
“join\_time”: “2019-09-26T01:30:34Z”,  
“leave\_time”: “2019-09-26T02:22:00Z”,  
“name”: " Name 5",  
“user\_email”: “”,  
“user\_id”: “16780288”  
},  
{  
**`"attentiveness_score": "-54.08%",`**  
“duration”: 2866,  
“id”: “6xRgc23gSciFSffomGlc0A”,  
“join\_time”: “2019-09-26T01:34:21Z”,  
“leave\_time”: “2019-09-26T02:22:07Z”,  
“name”: " Name 6",  
“user\_email”: “”,  
“user\_id”: “16781312”  
}  
],  
“total\_records”: 4  
}

Thanks,  
Sean

---

<div class="post-metadata">

### Author: ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)
#### Post date: [January 22, 2020, 10:03pm UTC](https://devforum.zoom.us/t/negative-values-returned-by-api/7640/6 "2020-01-22T22:03:27Z")

</div>

Hey @sohling,

Thanks for providing the additional details.

> [@sohling](#):
>
> **Using the call :**  
> GET [https://api.zoom.us/v2/report/meetings/zGmDzXivROqqLWJQ/NaZew==/participants?page\_size=30](https://api.zoom.us/v2/report/meetings/zGmDzXivROqqLWJQ/NaZew==/participants?page_size=30)

Can you try [double url encoding](https://www.urlencoder.org/) the meetingUUID? The slash might be messing things up.

`zGmDzXivROqqLWJQ/NaZew==` double url encoded is `zGmDzXivROqqLWJQ%252FNaZew%253D%253D`

Let me know if that fixes it.

> [@sohling](#):
>
> Here is the Participant Attentiveness Score Call issue **(highlighted below)** and response:  
> GET [https://api.zoom.us/v2/report/meetings/vdakxMRoQkSR67IcOynb8g==/participants?page\_size=30](https://api.zoom.us/v2/report/meetings/vdakxMRoQkSR67IcOynb8g==/participants?page_size=30)

This negative attentiveness score does seem like a bug.

Thanks,  
Tommy

---

<div class="post-metadata">

### Author: ![sohling](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/sohling/32/625_2.png) [@sohling](https://devforum.zoom.us/u/sohling)
#### Post date: [January 22, 2020, 10:16pm UTC](https://devforum.zoom.us/t/negative-values-returned-by-api/7640/7 "2020-01-22T22:16:47Z")

</div>

Hey Tommy,

Nope, the double encoded meeting uuid resulted with the same result.

I am using the double encoded id’s with my C# script as well as there are some other issues that happens with the slashes.

Thanks,  
Sean

---

<div class="post-metadata">

### Author: ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)
#### Post date: [January 22, 2020, 11:20pm UTC](https://devforum.zoom.us/t/negative-values-returned-by-api/7640/8 "2020-01-22T23:20:04Z")

</div>

Thanks for trying @sohling.

We will take a look to see what is going on, and I will get back to you. (ZOOM-134742)

Thanks for your patience,  
Tommy

---

<div class="post-metadata">

### Author: ![tbosler](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tbosler/32/4904_2.png) [@tbosler](https://devforum.zoom.us/u/tbosler)
#### Post date: [April 3, 2020, 2:19pm UTC](https://devforum.zoom.us/t/negative-values-returned-by-api/7640/9 "2020-04-03T14:19:07Z")

</div>

Good morning, I was wondering if there was a follow up to this as we have several examples of this occurring within the last two weeks. In addition, as another issue, we noticed yesterday all participants had a 100% attentiveness score.

---

<div class="post-metadata">

### Author: ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)
#### Post date: [April 3, 2020, 6:42pm UTC](https://devforum.zoom.us/t/negative-values-returned-by-api/7640/10 "2020-04-03T18:42:37Z")

</div>

Hey @tbosler,

Please see our updates here about the attentiveness score:

“Recent API Backward Incompatible Changes”

> [@Developer impacting changes during COVID-19](https://devforum.zoom.us/t/developer-impacting-changes-during-covid-19/8930):
>
> [Developer impacting changes during COVID-19](https://devforum.zoom.us/t/developer-impacting-changes-during-covid-19/8930)Zoom Developer Documentation Survey Please take a few minutes to fill out the [Zoom Developer Docs survey](https://forms.gle/mHCNSZuWfsNDcyMc8) and let us know how we can assist you better with our docs. Your input will be invaluable in improving our documentation. Delayed responses by Zoom staff on developer forum due to volume of posts. Expect a reply in 24 hours on weekdays. What does this mean? During these tough times, we are seeing a massive increase in demand for our services. To …

For the duration issue, please private message me the affected meeting IDs so I can take a look.

Thanks,  
Tommy

---

<div class="post-metadata">

### Author: ![doctor\_j](https://avatars.discourse-cdn.com/v4/letter/d/7ba0ec/32.png) [@doctor\_j](https://devforum.zoom.us/u/doctor_j)
#### Post date: [April 24, 2020, 12:01am UTC](https://devforum.zoom.us/t/negative-values-returned-by-api/7640/11 "2020-04-24T00:01:09Z")

</div>

In support of this report, also seeing negative meeting durations. Can provide affected meeting IDs privately to support debugging this effort.

---

<div class="post-metadata">

### Author: ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)
#### Post date: [April 27, 2020, 3:50pm UTC](https://devforum.zoom.us/t/negative-values-returned-by-api/7640/12 "2020-04-27T15:50:56Z")

</div>

Hey @doctor_j,

Yes, please provide the API response.

Thanks,  
Tommy

---

<div class="post-metadata">

### Author: ![doctor\_j](https://avatars.discourse-cdn.com/v4/letter/d/7ba0ec/32.png) [@doctor\_j](https://devforum.zoom.us/u/doctor_j)
#### Post date: [May 8, 2020, 12:49am UTC](https://devforum.zoom.us/t/negative-values-returned-by-api/7640/13 "2020-05-08T00:49:13Z")

</div>

Hi Tommy, is there a way to send you this information without sharing it publicly?

---

<div class="post-metadata">

### Author: ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)
#### Post date: [May 12, 2020, 9:23pm UTC](https://devforum.zoom.us/t/negative-values-returned-by-api/7640/14 "2020-05-12T21:23:46Z")

</div>

Hey @doctor_j,

Yes, you can private message me on this forum.

Thanks,  
Tommy

---

<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, 9:16pm UTC](https://devforum.zoom.us/t/negative-values-returned-by-api/7640/15 "2020-08-21T21:16:47Z")

</div>


