POST', '/oauth/token - "reason": "Invalid Token!", "error": "invalid_request"

Description
Using create_meeting() function, But after one hour it does not work (It shows Invalid token)
Update token function does not show anything.

Ref: Create a Zoom meeting using Zoom API | Codepickup

Error
POST’, '/oauth/token - “reason”: “Invalid Token!”, “error”: “invalid_request”
Tried to use same in POSTMAN too.

Which App Type (OAuth / Chatbot / JWT / Webhook)?
OAuth

Which Endpoint/s?
reason": “Invalid Token!”, “error”: “invalid_request”

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

  1. https://shopatjcb.com/zoom.php
  2. After one hour it stops working

Hi @Dev_SAVIT,

If you’re using an OAuth access_token, this expires after one hour. You will need to refresh your token following the steps outlined here:

Thanks,
Will

Thanks for your message Will.

But after this code, it’s not working. it just shows an Invalid token.

Hey @Dev_SAVIT,

Thanks for the reply—a few things to check:

  • Confirm that you’re using the refresh_token that was returned in the same payload as the original access_token
  • Double check that your Authorization header includes the base64encoded Client ID:Client Secret for the correct version of your app (prod or dev)

Let me know if either of these items help!
Will