API Key generator broken


#1

Hello, have another problem. I decided to test your API v2 without your Playground so i generated new access token related on my Api Credentials.

When i try to use it i get 124 Invalid access token. I thought the problem with my Api Key/Api Secret that i have already been using with API V1 so i clicked to generate new.

Regenerate Secret - works fine, i got new Api Secret.

Regenerate Access Token - does nothing. It sends POST AJAX on https://developer.zoom.us/wp-admin/admin-ajax.php, gets 200 empty response and shows me alert with text “undefined”.

Anyway i tried to generate new access_token on https://jwt.io/#debugger-io, i put new secret and kept old key, took new access_token, did request and still got 124 invalid access token.

What’s wrong with API v2?


#2

Hi Sergey, 

Will have reported this issue to our Engineers and will get back to you as soon as we find the bug and a workaround.

Thanks


#3

Hi Sergey, 

Is this related to the v2/accounts API? 


#4

I guess this is related to whole API system.

This post is about broken API methods (https://support.zoom.us/hc/en-us/community/posts/360025854792-Playground-V2-doesn-t-work?page=1#community_comment_360002628231)

And this post is about broken button on https://developer.zoom.us/me/#api

It’s impossible to regenerate access token. May be this occurred because this account is sub-account(with Admin role) and not Master account, but on API V1 this worked fine.


#5

Hi Sergey,

Can you check the role management page for this role - Zoom for developers  and see if (read or write) is checked?

 


#6

Yes, it is


#7

Any updates?


#8

Hi Sergey, 

Can you make sure that your account has Chat history enabled as well? That needs to be enabled since we have IM Chat APIs. 


#9

Chat history is disabled, but question was about API Secret, not about IM Chat History Token. Or these tokens are related to each other? 


#10

Hello, 

Those tokens are related to each other, as the IM Chat is apart of our APIs. Please enable the IM Chat history and try to generate a access token. Let me know if that works. 

Thanks


#11

Thank you, it works! But it would have been better if you had shown message instead of empty alert)


#12

Is it possible to fix this so it does not require enabling IM Chat History?

I am unable to enable IM Chat History for security considerations.