Double encoding on UUIDs

Using this template helps us debug your issues more effectively :slight_smile:

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

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/”;
my $parm2 = “/participants?page_size=300”;
@ARGV = (“4//M4niJTOCN0Sx/yjwA6w==”,“1621555200”,“93033164264”);
my ($instanceID,$token_exp,$meetingID) = @ARGV;

Additional info: Encode/Decode code

my $encoder = URI::Encode->new({double_encode => 1});
my $IDencoded = $encoder->encode($instanceID, { encode_reserved => 1 } );

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

Let me know if you have any questions.

Thanks,
Max

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