Meeting does not exist even though I did join with two other users in different browser

const test = async () => {
    const meetingNumber = '88197892899';
    try {

        const accessToken = await getAccessToken();

        const participantsEndpoint = `https://api.zoom.us/v2/past_meetings/${meetingNumber}/participants`;

        const participantsResponse = await axios.get(participantsEndpoint, {
            headers: {
                'Authorization': `Bearer ${accessToken}`,
                'Content-Type': 'application/json',
            }
        });

        const participants = participantsResponse.data.participants;

        console.log(`Participants for meeting ${meetingNumber}:`, participants);

        return participants;
    } catch (err) {
        if (err.response && err.response.data && err.response.data.code === 3001) {
            console.error('Meeting does not exist:', meetingNumber);
        } else {
            console.error('Error fetching participants:', err);
        }
        throw err;
    }
};

After the host ended the meeting i hit this api to get participant but it says meeting does not exist why?
Also I created meeting like this

const createMeetingEndpoint = `https://api.zoom.us/v2/users/me/meetings`; ```

with my pro account. Please provide solution

@zoom312 this is a valid meeting number.

Is this an OAuth app or Server to Server OAuth app?

You have to make sure that the requestor is the host of this meeting, or the requestor is in the same tenant as the host of this meeting.

You cannot query meeting numbers which are external to your account, even if you are invited as a guest/participant to the meeting.

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