The createMembership method in the Appwrite Kotlin SDK now requires List<io.appwrite.enums.Roles> instead of List<String>, but the predefined Roles enum only contains three values (ADMIN, DEVELOPER, OWNER), preventing the use of custom roles like "customer" which are essential for team-based applications.
looks like specs were updated to recently? will need to resync specs and investigate why they changed in first place
Yes, it been updated in last release by you, I don't why you have changed it, when i have updated to lastest version and suddenly it get the error for customer role in the team invitation
sdk updates are determined by spec changes, not necessarily by manual release by a single author.
Yes, i know it necessarily and i understand that, not blaming team or other people but it's get problem in somewhere around
Thank you for helping out π
Also bro, can you check this out https://appwrite.io/docs/references/cloud/client-android-kotlin/account in this doc those doc it give kotlin code, if someone try to copy paste then it get error
"```"
hmm i see, the code fence should be in a new line for it to be properly stripped down
weird
looks ok to me here
looks like some issue in appwrite rpeo
Thank you so much
Yes, maybe
Closing ticket?
Recommended threads
- {"code": 1008, "message": "Invalid Origi...
Nothing has changed in my application or console settings so I'm curious as to what I need to do to fix this. I already have the client registered so I'm not en...
- android platform invaild origina
It happened today suddenly. Our app says invalid origin. And appwrite cloud says every time we tried to add the app to it: "param platformId" is not optional.
- All my apps are not opening now
All my apps are not opening now 200+ apps are not opening plz fast