Format Your New Topic as Follows:
Meeting SDK Type and Version
Zoom for Government (zoomgov.com)
Web Meeting SDK 2.15.0
Description
This all works perfectly on Zoom.us; a new client is using ZoomGov.com and after changing the URLs based on what we’ve found in the forums most things seem to be working such as OAuth and creating meetings with the API. However joining meetings is throwing the error Not support start meeting via tokens
Error?
Object {
method: "join",
status: false,
result: "Not support start meeting via tokens",
errorMessage: "Token error",
errorCode: 3265
}
Troubleshooting Routes
I’ve tried removing the zak token and then I get a different error Meeting Number not Found.
How To Reproduce
Steps to reproduce the behavior including:
- Auth a user with OAuth via Zoom For Gov.
- Create a meeting with api.zoomgov.com
- Get a user’s zak token with the GetAUserToken endpoing sending the zak token type.
- Google Chrome 125.0.6422.142 (Official Build) (64-bit)
- Firefox Developer 128.0b1 (64-bit)
Join Config
{
"sdkKey": "XXX Can be supplied in DM",
"signature": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhcHBLZXkiOiI1ck0wVXNlMVNaS3FGcnJiY2dzVmciLCJzZGtLZXkiOiI1ck0wVXNlMVNaS3FGcnJiY2dzVmciLCJtbiI6IjE2MTkzOTMwNTYiLCJyb2xlIjoiMSIsImlhdCI6MTcxODczNDU0MSwiZXhwIjoxNzE4NzM4MTQxLCJ0b2tlbkV4cCI6MTcxODczODE0MX0.LUcy_f-2uHgNTY61M0SxGRbLQyUfhvd8JNZJQDojVf8",
"meetingNumber": "1619393056",
"passWord": "LXAOoY#xG5",
"userName": "Test User",
"zak": "eyJ0eXAiOiJKV1QiLCJzdiI6IjAwMDAwMSIsInptX3NrbSI6InptX28ybSIsImFsZyI6IkhTMjU2In0.eyJhdWQiOiJjbGllbnRzbSIsInVpZCI6Ijc0MEQ4ZmxfUkh1UFA2cW83bF8tR0EiLCJpc3MiOiJ3ZWIiLCJzayI6IjAiLCJzdHkiOjEwMCwid2NkIjoiZ292IiwiY2x0IjowLCJleHAiOjE3MTg3NDE3NDEsImlhdCI6MTcxODczNDU0MSwiYWlkIjoidFdHcHdkZjFSTVNrbE1aVWI3cTctdyIsImNpZCI6IiJ9.lB5gRlSPv_eI2AAEnSPLZlMQT4JnBm15fVXPS8HvcOw",
"success": meetingJoined,
"error": function (err) {
console.log('join meeting error', err);
}
}
Init/Join function
ZoomMtg.init({
leaveUrl: ZoomConfig.leaveUrl,
isSupportAV: true,
showMeetingHeader: false,
success: function () {
console.log('init meeting success');
let joinConfig = {
sdkKey: ZoomConfig.sdkKey,
signature: signature,
meetingNumber: ZoomConfig.meetingNumber,
passWord: (ZoomConfig.passWord) ? ZoomConfig.passWord : '',
userName: ZoomConfig.userName,
zak: ZoomConfig.zak,
success: meetingJoined,
error: function (err) {
console.log('join meeting error', err);
}
};
console.log('joinConfig', joinConfig);
ZoomMtg.join(joinConfig);
},
error: function (err) {
console.log('init meeting error', err);
}
});