Back

What exactly is "installationId" and where to find it

  • 0
  • Self Hosted
  • Functions
Alex
27 Jul, 2024, 10:28

Hello guys ! For function creation via VSC, it is mandatory (not optional) to provide "installationId" but I don't know what it really is and where to find it. Documentation is not clear enough on the web site.

Here is error I get when trying to create function without providing the "installationId"

TypeScript
    at Client.call (/usr/local/server/src/function/node_modules/node-appwrite/lib/client.js:206:15)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Functions.create (/usr/local/server/src/function/node_modules/node-appwrite/lib/services/functions.js:174:16)
    at async Module.default (file:///usr/local/server/src/function/src/main.js:31:27)
    at async execute (/usr/local/server/src/server.js:157:22)
    at async action (/usr/local/server/src/server.js:174:13)
    at async /usr/local/server/src/server.js:10:9```
TL;DR
Developers are required to provide "installationId" when creating functions via VSC. The error occurs when this parameter is not included. The exact definition and location of "installationId" is unclear in the documentation provided.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more