Code: 124, message: 'Invalid access token

I am using the server to server oauth app to create a meeting from react app and using below code to generate bearer token.
const generateZoomJWT = () => {
const API_KEY = ‘’;
const API_SECRET = ‘’;
const payload = {
iss: API_KEY,
exp: ((new Date()).getTime() + 5000)
const token = jwt.sign(payload, API_SECRET);
return token;

Can I know what wrong here

Hi @varunu
Thanks for reaching out to the Zoom Developer forum and welcome to our community!
Here is a link to a post about our Server to Server Oauth app, the JWT app will be deprecated in June so I highly encourage you to migrate to our Server to Server Oauth: