No Permission for this API in zoomaps-serverless-vuejs

Hello,
I am trying to run locally one of the test zoom apps that you provide the community with. More specifically the zoomaps-serverless-vuejs.
I have followed all the necessary steps mentioned in the github readme and I managed to install the app in the zoom client.
However when i try to tweak the code a bit and try to call the
await zoomSdk.getMeetingContext(); i receive a No Permission for this API. error in the console.
Could you let me know why this is happening?

I have registered the relevant capability getMeetingContext in my home.vue file and in zoom app configuration but still nothing.

Thank you in advance,

2 Likes

What a great question, I’m having the exact same problem! It’s a shame nobody has even responded to this question. :face_with_raised_eyebrow:
Thank you for taking the time to ask this question.

I’ve fixed the issue I was having. Browsing the source I found the following and adding those capibilities as Zoom App SDK api’s eliminated the “No Permission…” error. They should add this to the ‘getting started’ section of the README.md

// These items must be selected in the Features → Zoom App SDK → Add APIs tool in Marketplace
const configResponse = await zoomSdk.config({
capabilities: [
// apis demoed in the buttons
…apis.map((api) => api.name), // IMPORTANT

        // demo events
        "onSendAppInvitation",
        "onShareApp",
        "onActiveSpeakerChange",
        "onMeeting",

        // connect api and event
        "connect",
        "onConnect",
        "postMessage",
        "onMessage",

        // in-client api and event
        "authorize",
        "onAuthorized",
        "promptAuthorize",
        "getUserContext",
        "onMyUserContextChange",
        "sendAppInvitationToAllParticipants",
        "sendAppInvitation",
      ],