Sending in 5 min π
I think it was made optional in 1.4
Here I am, so the code to send it is:
try{
teams.createMembership(
teamId: "teamID",
email: "contacto@dh-sw.net",
roles: [],
url: "https://inicio.dh-sw.net");
} catch(e){
print(e)
}
Sorry for the delay, It took me longer than expected π
Maybe the issue is not specifying roles?
No that should work
What dart SDK you're using?
7.1.0
Try to use ID instead of email Is it working?
trying now
Nope, no luck π’
Tried specifying a role, and no luck
Okay, solved
Can you
- add
awaitthen check thee
await teams.createMembership(
- check the logs?
Ohh
Great
How?
API scopes ππ΅βπ«
π
Sincerely a dumb mistake π
Those are the most common
Yes. I thought I had enabled all scopes. Then double checked and saw it was disabled just for teams API π€¦ββοΈ
I remember when first learning C, the author wrote "everyone will forget to add ;" I though I wouldn't. but I did, many times.
[SOLVED] Cannot add an user to a team through server SDK
Recommended threads
- Export, Import or Migration giving this ...
As you can see in yhe screenshot i am not able to export any data or export the data from tables. Also it is affecting the migration from appwrite to appwrite h...
- local (self-hosted) sites issues
setup: - `composer run installer:dev` issues - Getting error when visiting the site ```Synchronous function execution timed out. Use asynchronous execution in...
- I'm getting an error on the console "j?....
On my self hosted instance version 1.8.1 the console is giving me this error when trying to view the rows for a table I recently created. My application is read...