# Double encoding on UUIDs

**URL:** <https://devforum.zoom.us/t/double-encoding-on-uuids/50695>\
**Category:** API and Webhooks\
**Created:** [May 20, 2021, 4:29pm UTC](https://devforum.zoom.us/t/double-encoding-on-uuids/50695 "2021-05-20T16:29:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dbailey](https://avatars.discourse-cdn.com/v4/letter/d/50afbb/32.png) [@dbailey](https://devforum.zoom.us/u/dbailey)\
**Post date:** [May 20, 2021, 4:29pm UTC](https://devforum.zoom.us/t/double-encoding-on-uuids/50695/1 "2021-05-20T16:29:57Z")

</div>

## Using this template helps us debug your issues more effectively 🙂

**Description**  
I am double encoding UUID (instanceID) to get participants for each instance of a meeting. The double encoding looks correct, but it’s returning “meeting not found”, describing incorrect UUID.

**Error**  
The full error message or issue you are running into.

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

**Which Endpoint/s?**  
/report/meetings/UUID(“4//M4niJTOCN0Sx/yjwA6w==”)/participants  
After doubled encoding, complete URI string =  
[https://api.zoom.us/v2/report/meetings/4%2F%2FM4niJTOCN0Sx%2FyjwA6w%3D%3D/participants?page\_size=300](https://api.zoom.us/v2/report/meetings/4%2F%2FM4niJTOCN0Sx%2FyjwA6w%3D%3D/participants?page_size=300)

Message returned: {“code”:3001,“message”:“Meeting does not exist: 4/M4niJTOCN0Sx/yjwA6w==.”}  
It is only happening on this one UUID out of several. It appears to be removing one of the “/” and shifting to pick up the (.) from the concatenation.

I am concatenating: my $uri= URI-\>new($parm1.$IDencoded.$parm2);  
my $parm1 = “[https://api.zoom.us/v2/report/meetings/](https://api.zoom.us/v2/report/meetings/)”;  
my $parm2 = “/participants?page\_size=300”;  
@ARGV = (“4//M4niJTOCN0Sx/yjwA6w==”,“1621555200”,“93033164264”);  
my ($instanceID,$token\_exp,$meetingID) = @ARGV;

---

<div class="post-metadata">

**Author:** ![dbailey](https://avatars.discourse-cdn.com/v4/letter/d/50afbb/32.png) [@dbailey](https://devforum.zoom.us/u/dbailey)\
**Post date:** [May 20, 2021, 4:35pm UTC](https://devforum.zoom.us/t/double-encoding-on-uuids/50695/2 "2021-05-20T16:35:15Z")

</div>

Additional info: Encode/Decode code

my $encoder = URI::Encode-\>new({double\_encode =\> 1});  
my $IDencoded = $encoder-\>encode($instanceID, { encode\_reserved =\> 1 } );

---

<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:** [May 22, 2021, 1:27am UTC](https://devforum.zoom.us/t/double-encoding-on-uuids/50695/3 "2021-05-22T01:27:38Z")

</div>

Hey @dbailey,

Thank you for reaching out to the Zoom Developer Forum. It looks like this meeting UUID was only encoded once. The double encoded version should be: 4%252F%252FM4niJTOCN0Sx%252FyjwA6w%253D%253D

> [@DOUBLE encode meeting UUIDs?](https://devforum.zoom.us/t/double-encode-meeting-uuids/23729):
>
> Trying to get the recordings of a meeting, using the /meetings/{meetingId}/recordings API. All works fine usually. Today we got a meeting with a UUID of /nk84I4+SbONSeE5ScfjUQ==. The request failed because I wasn’t URL-encoding that value: GET https://api.zoom.us/v2/meetings//nk84I4+SbONSeE5ScfjUQ==/recordings --\> 500 So I figured that was the problem. But when I URL-encode it, I got a 404 on the call: GET https://api.zoom.us/v2/meetings/%2Fnk84I4%2BSbONSeE5ScfjUQ%3D%3D/recordings --\> 404 I…

Let me know if you have any questions.

Thanks,  
Max

---

<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:** [June 21, 2021, 11:27am UTC](https://devforum.zoom.us/t/double-encoding-on-uuids/50695/4 "2021-06-21T11:27:43Z")

</div>

Closed on June 21, 2021, 11:27am UTC

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