Join meeting timeout. The meeting number is wrong

Description
I am experimenting this tutorial: GitHub - zoom/meetingsdk-vuejs-sample: Use the Zoom Meeting SDK in Vue.js
I am running the auth service locally on localhost:4000

I create a meeting from my zoom app and use the meeting number and passWord.

var authEndpoint = 'http://localhost:4000'
var sdkKey = '${client id from app credentials}'
var meetingNumber = '83307622269'
var passWord = '${meeting_password}'
var role = 0
var userName = 'Vue.js'
var userEmail = ''
var registrantToken = ''
var zakToken = ''
var leaveUrl = 'http://localhost:5173/'

Browser Console Error
Join meeting timeout. The meeting number is wrong

Which Web Meeting SDK version?
zoomus/websdk 2.18.2

Meeting SDK Code Snippets
GitHub - zoom/meetingsdk-vuejs-sample: Use the Zoom Meeting SDK in Vue.js I use this repo, but only changes the config.

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

@albert.guan94 could you try this in the HelloWorld.vue file?

It was previously missing the headers

function getSignature() {
  fetch(authEndpoint, {
    method: 'POST',
    headers: {
    'Content-Type': 'application/json', // Specify the content type as JSON
    },
    body: JSON.stringify({
      meetingNumber: meetingNumber,
      role: role
    })

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