getSupportedJsApis - What causes some to be unsupported per user?
Zoom Apps Configuration
I have a marketplace app with a React frontend and node.js backend. In my React frontend, there are various js apis and event listeners I want to leverage, nothing too fancy, but certainly ones like authorize().
Description
I want to know what causes some capabilities to be reported as unsupported for various users so that I can work with them to make any needed changes to make them supported, whether it be an app version problem or zoom account configuration. The sdk.config() method returns a list of “capabilities” and we diff that against the apis and listeners we want to use and log unsupportedApis (I guess unsupportedCapabilities would be a better term).
Error
I get a variety of these, but here is a very recent example. This error was from calling sdk.authorize()
Error: No Permission for this API. [code:80007, reason:disabled_for_basic_mode]
To me, this seems to suggest that due to the account type (Basic), that they can’t use authorize()?? This is what I have in my logs for this particular event, including the diff in capabilities as “unsupportedApis”.
“unsupportedApis”:[
“authorize”,
“getMeetingContext”,
“onAuthorized”,
“onSendAppInvitation”,
“showAppInvitationDialog”
],
“product”:“desktop”,
“auth”:{
“upgradable”:true,
“status”:“authorized”
},
“browserVersion”:“webview2/149.0.4022.62”,
“launchContext”:{
“openBy”:“user”,
“origin”:“App Launcher”
},
“themeMode”:“light”,
“userAgent”:“Mozilla/5.0 (Windows NT 10.0;Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36 Edg/91.0.864.67”,
“clientVersion”:“6.5.3.7509”,
“runningContext”:“inMeeting”,
“meeting”:{
“zoomMtgUUID”:“uTuSkZ7hQTSsL9xZA5uB3w==”
}
Troubleshooting Routes
What we’ve tried to do is use different user and user account types, various account configurations, match the user’s version and OS, etc., to try to discover what could be the root cause, but I’ve come up with nothing.
How To Reproduce
![]()