Back

AppwriteException: team_not_found, Team with the requested ID could not be found. (404))

  • 0
  • Flutter
  • Cloud
rt
31 Mar, 2025, 07:15

While trying to fetch team data or membership data using teams.get(id...) or teams.listMemberships it showing an error :Exception has occurred. AppwriteException (AppwriteException: team_not_found, Team with the requested ID could not be found. (404)) But teams.list() gives total = 2. User is in the team (confirmed) Below is the code. Team id is also correct..

TL;DR
Error message: AppwriteException: team_not_found Developers are facing an issue where fetching team data returns a 404 error despite the team ID being correct and the user confirmed in the team. The teams.list() method returns 2 teams. Solution: Try rechecking the team ID for accuracy and ensure the team exists in the system. It might be helpful to verify the team's existence through a different method to rule out discrepancies.
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