@chunsiong.zoom, on the “Zoom Apps” you mentioned earlier, I am trying to use zoomapps-advancedsample-react but getting into this error:
Error: Invalid state parameter
at auth (/home/node/app/api/zoomapp/controller.js:173:21)
at Layer.handle [as handle_request] (/home/node/app/node_modules/express/lib/router/layer.js:95:5)
at next (/home/node/app/node_modules/express/lib/router/route.js:149:13)
at Route.dispatch (/home/node/app/node_modules/express/lib/router/route.js:119:3)
at Layer.handle [as handle_request] (/home/node/app/node_modules/express/lib/router/layer.js:95:5)
at /home/node/app/node_modules/express/lib/router/index.js:284:15
at Function.process_params (/home/node/app/node_modules/express/lib/router/index.js:346:12)
at next (/home/node/app/node_modules/express/lib/router/index.js:280:10)
at Function.handle (/home/node/app/node_modules/express/lib/router/index.js:175:3)
at router (/home/node/app/node_modules/express/lib/router/index.js:47:12)
Error: Not found
at /home/node/app/server.js:51:17
at Layer.handle [as handle_request] (/home/node/app/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/home/node/app/node_modules/express/lib/router/index.js:328:13)
at /home/node/app/node_modules/express/lib/router/index.js:286:9
at Function.process_params (/home/node/app/node_modules/express/lib/router/index.js:346:12)
at next (/home/node/app/node_modules/express/lib/router/index.js:280:10)
at setResponseHeaders (/home/node/app/middleware.js:21:5)
at Layer.handle [as handle_request] (/home/node/app/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/home/node/app/node_modules/express/lib/router/index.js:328:13)
at /home/node/app/node_modules/express/lib/router/index.js:286:9
I noticed some other users having same issue but could not figure out solution
@shaheer.teczon for zoom apps, please post a question in the relevant section. I’m not too familiar with it.
If your docker image + code is properly provisioned, using a cloud provider, the spinning up of docker instance after getting a meeting started webhook should take seconds if not milliseconds. The logic to join the meeting might take a few more seconds.
You should not rebuild it every time you want to join the meeting. It should be built once, run many times.
I can’t debug the error code unless I have the logs or JWT token. Typically it is error associated with the JWT token
@chunsiong.zoom Does linux sdk support native zoom transcriptions/closed caption now?
@shaheer.teczon no, Linux Meeting SDK does not support transcription / closed caption
@chunsiong.zoom I have started facing
authentication failed because the JWT is invalid while the image is still same. What could be reason of it?
@chunsiong.zoom, Please have a look, it was working fine before
Generated JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhcHBLZXkiOiJfeVpvS0I4aFJpNjhhTmF5eFJhcWNnIiwiZXhwIjoxNzI2Mzk0NzkxLCJpYXQiOjE3MjYzMDgzOTEsInRva2VuRXhwIjoxNzI2Mzk0NzkxfQ.iBvmCoAkUfEQfHPZ0Cwoy1QOZFBD_bkMdnbppRhf-ec
void Zoom::generateJWT(const string& key, const string& secret) {
m_iat = std::chrono::system_clock::now();
m_exp = m_iat + std::chrono::hours{24};
m_jwt = jwt::create()
.set_type("JWT")
.set_issued_at(m_iat)
.set_expires_at(m_exp)
.set_payload_claim("appKey", claim(key))
.set_payload_claim("tokenExp", claim(m_exp))
.sign(algorithm::hs256{secret});
std::cout << "Generated JWT: " << m_jwt << std::endl;
}
@shaheer.teczon did you hardcode the JWT or did you generate a new JWT token every time you run the docker image?
Based on the sample which you have shared, the validity of the token is only 24 hours.
Typically in production / deployed environment, you will want to generate a JWT token every single time right before you join a meeting.
@chunsiong.zoom New token is generated eveyrtime when we run a docker image. Same code was working before but not now. I am not sure what got wrong. Your urgent attention is required
@shaheer.teczon are you joining the same meeting number?
If you are joining a meeting hosted by user in external tenant, you need to publish your marketplace app.
If it is urgent, I would recommend you to sign up for a premier developer support plan.
@chunsiong.zoom I am joining meeting hosted by same user as app and no I am joining using meeting url. I have tried creating different meeting but it is stuck on same error.
@chunsiong.zoom I don’t think so error should come even if it is same meeting
@shaheer.teczon what is the error message?
@chunsiong.zoom
authentication failed because the JWT is invalid
@chunsiong.zoom Any recommended solution for it?
@shaheer.teczon I’ll PM you for this, I will need to get your JWT, meeting number and password
@chunsiong.zoom Sure. I will share
@MaxM are you familiar with the error code 134?