Skip to content
Back

AppwriteException: Team with the requested ID could not be found

  • 1
  • Android
  • Teams
sagar2335
11 Jan, 2024, 14:19

I am trying to fetch list of users belongs to a particular team. if user belongs to team then this code works properly otherwise it throws an exception: "Team with the requested ID could not be found". I have attached ss of my code .

TL;DR
Issue: Developer is unable to fetch a list of users belonging to a specific team. Code throws an exception stating "Team with the requested ID could not be found." Solution: The error suggests that the team with the specified ID does not exist. Double-check the ID being used for the team and ensure it is correct. Review the code and confirm that the team ID is being passed correctly to the function. If the issue persists, double-check the team's existence in the database and verify if it is being assigned properly to users.
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