Back

Create team membership

  • 0
  • Flutter
  • Auth
  • Cloud
renderlux
6 Jun, 2024, 15:07

https://appwrite.io/docs/references/cloud/client-web/teams#createMembership

Trying to call createMembership but I get "User (role: guests) missing scope (teams.write)"

"Invite a new member to join your team. Provide an ID for existing users, or invite unregistered users using an email or phone number. If initiated from a Client SDK, Appwrite will send an email or sms with a link to join the team to the invited user, and an account will be created for them if one doesn't exist. If initiated from a Server SDK, the new member will be added automatically to the team."

But the above wording saying "invite unregistered users using an email or phone number." but it does not work 😦

TL;DR
The developers are encountering an issue when trying to call createMembership as they are getting the error message "User (role: guests) missing scope (teams.write)." The wording of the documentation mentioning inviting unregistered users using an email or phone number is misleading and not working correctly.
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