Getting error "Invalid api key or secret" while creating webinar using api with key and secret key from the valid account

Hi,

Actually, we are using some other license details with version 1 api methods for creating the webinar and meeting and that is still working fine.

Now, we have using the free trial version license and its key and secret key to create webinar and meeting with the version v1 api methods and getting this error “Invalid api key or secret.”

Can you track the given request and find out the where is the gap actually. Please guide us on the same.

Please guide us on the same.

zoom id : ashishk@gc-solutions.net
Api Key : 0MD3jMTVRIG_OxbMC5Fi3g
Api Secret : redacted
Host Id : kknbMs3STjqh3fYec58I9g

Request :
https://api.zoom.us/v1/webinar/create?api_key=0MD3jMTVRIG_OxbMC5Fi3g&api_secret=dMtMtNrew8WqsUbPsIHcs3d5BZI0rhajB9wG&topic=anand&type=5&start_time=2019-09-30T13:42:00ZZ&duration=30&host_id=kknbMs3STjqh3fYec58I9g&timezone=GMT+5:30 &option_registration = true

Output Error:
{“error”:{“code”:200,“message”:“Invalid api key or secret.”}}

Hey @ashishk,

Try switching your user to “Pro” in your user settings. You have the free trail which is good, but your user needs to be at least a pro user to use APIs (free while in free trial).

Let me know if it works after you make this change.

Thanks,
Tommy

Hi Tommy,

Still, I have getting same error. Although profile is upgraded from ‘Basic’ to ‘Pro’.

Regards,
Priyanka

Hey @ashishk,

Please try using v2 of our API and let me know if you still see the error:

https://marketplace.zoom.us/docs/api-reference/zoom-api/webinars/webinarcreate

Thanks,
Tommy

Hi Tommy,

Still not working kindly find the screenshot:

Regards,
Priyanka

Hey @ashishk,

Please try subsititting the {userId} with me.

The request will look like this: https://api.zoom.us/v2/users/me/webinars.

Let me know if that works!

Thanks,
Tommy

Hi Tommy,

I have tried, still not working. Kindly find the details:

zoom id : ashishk@gc-solutions.net
Api Key : 0MD3jMTVRIG_OxbMC5Fi3g
Host Id : Zhhey1DzR_qgA4RfQmcZZg

Regards,
Priyanka

Hey @ashishk,

How are you setting the access_token?

It needs to be set in the Headers of the request like this:

"Authorization": "Bearer ACCESS_TOKEN_HERE"

Thanks,
Tommy

Hi Tommy,

Still, I am getting same error PFA screenshot:

Regards,
Priyanka

Hey @ashishk,

Can you schedule a Zoom meeting with me here so I can help further?

Thanks,
Tommy

Hi,

Thanks for your response. Can we schedule the zoom meeting between 10:00 AM to 7:00PM IST.

Regards
Priyanka

Hey @ashishk,

Can you please try creating a new Zoom OAuth app here, and then try again?

Here are instructions on how to setup your app and the “Send a test request” feature on our docs:

Thanks,
Tommy

Hi,

As mentioned, i had follow mentioned steps but still not working. PFA screenshot

Regards,
Priyanka

Hey @ashishk,

Can you schedule a Zoom meeting with me here so I can help further?

Thanks,
Tommy