Invalid access token calling Zoom API from Apex-Salesforce

I am getting Invalid access token error while calling the endpoint from Apex. I have already checked the API Key and Secret.

Response ={“code”:124,“message”:“Invalid access token.”} 401

Which App Type (OAuth / Chatbot / JWT / Webhook)?
JWT. Have created app and got API Key and Secret.

Which Endpoint/s?

How To Reproduce (If applicable)
Steps to reproduce the behavior:

  1. Request URL / Headers (without credentials) / Body :
  2. See error: Response ={“code”:124,“message”:“Invalid access token.”} 401

Screenshots (If applicable)
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

Hey @vrattan,

How are you generating the JWT Token? Can you try with the JWT Token generated for you in your JWT App settings on the “App Credentials” page?


Hi Tommy,

This is working fine for me now. Used an Apex classes to generate token. Thanks for your help.


1 Like

Happy to hear you got it working! :slight_smile:


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.