Zoom Get API using PHP curl causing issues with hyphen in userid

Description
User ID’s having hyhen(-) return empty array in response.

Error
Empty array returned.

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

Which Endpoint/s?
https://api.zoom.us/v2/users/{$userId}/token

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

  1. Call https://api.zoom.us/v2/users/{$userId}/token
  2. Empty array returned if $userId has a hyphen(-)

Hey @Harshit_Sharaff,

I have replied to you here:

Let me know if that answered your question! :slight_smile:

Thanks,
Tommy

Hey @tommy

It’s a normal email login. We have multiple users but only the ones having a hyphen(-) is returning an empty object. It seems to be some encoding issue during a curl PHP call to the Zoom API’s, something like a line break which happens after a hyphen(-). This is my guess.

Hey @Harshit_Sharaff,

Can you share the userId with me so I can debug the issue?

Thanks,
Tommy

Hey @tommy,

I have shared the user id at developersupport@zoom.us. Please let me know if you need anything else apart from that from our side.

Thanks @Harshit_Sharaff,

We will be with you as soon as possible.

Thanks,
Tommy

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