Web Developer
Can't get to add a user to a team with the following error.
Here is my code
let membership = teams .createMembership(teamId, teamRole, email, undefined, undefined, URL, fullName) .then((response) => { console.log('Team Membership', response); return response; }) .catch((error) => { console.error(error); throw error; });
I have also tried using the browser directly with https://cloud.appwrite.io/v1/teams/teamId but i still get the error
{ "message": "Team with the requested ID could not be found.", "code": 404, "type": "team_not_found", "version": "1.5.6" }