I have been using " /users/{userId}/meetings" endpoint to create instant meeting.However, if someone clicks on that if says meeting not found/expired.Anyone else facing the same issue?
I am using JWT token with user’s email in {userId} to get the meeting details.This works if clicked immediately.I suppose the issue with expiration.
Hi @milap.shah, if the userId passed through the token is successfully authorized to return meeting details, the issue may very well be with expiration as you suggest.
To cover all bases: Is there a particular library or method you are using to generate the token? You will want to set the expiration time (exp) in the payload of that token. We have an example of this in our Quickstart JWT guide: https://marketplace.zoom.us/docs/guides/authorization/jwt/authentication
@milap.shah, you’re correct - you’re creating an instant meeting. If you want to create a bit of buffer time in the meeting, you might want to try creating a scheduled meeting (type: 2) and setting the duration time (in minutes). If this doesn’t work out, copy the body of your request here with any unique/identifiable settings hidden so we can see exactly what’s being sent.
Hi @milap.shah, just looping back here to check in. Thanks for picking up on this, we’ve logged this as something to look into. Let us know if you have any questions!