Back

List Identities is not a function

  • 0
  • Users
  • Functions
  • Cloud
sswastik02
27 Dec, 2023, 07:03

Despite being mentioned in the docs I am trying to execute this in functions, here is the output

TypeScript
TypeError: users.listIdentities is not a function
    at Module.default (file:///usr/local/server/src/function/src/main.js:13:40)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async execute (/usr/local/server/src/server.js:141:22)
    at async /usr/local/server/src/server.js:158:13
TL;DR
The user is encountering an error message "List Identities is not a function" and states that it is undefined. No further information or solution is provided.
sswastik02
27 Dec, 2023, 07:29

Can someone please help out over here.

sswastik02
27 Dec, 2023, 07:30

Here's the code I am trying

TypeScript
let users = new Users(client)
let il = await users.listIdentities()
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