The same works fine for both Web and iOS but fails on Android with the following error:
[Error] Method: GET
[Error] URL: /v1/account
[Error] Type: Appwrite\Extend\Exception
[Error] Message: User (role: guests) missing scope (account)
I have configured the callback url in AndroidManifest.xml. Added a platform for the android.
Looks like the cookies are not being sent. The request object seems to contain all the cookies, but the request instance in the incoming response object doesn't have them. Am I missing something w.r.t configuration?
How many instances of client do you have in your app?
I realized that this was an issue with wrongly configured scheme http vs https for client endpoint.
[SOLVED] Google oauth succeeds, but fails to retrieve account - 401 response
Recommended threads
- [SOLVED] curl error Number: 6 — function...
Hello, I invested a lot of time in this error in a fresh install of appwrite 1.8.1 and lasted until fix, this if for helping anyone that can have the same weird...
- 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.
- Team invite - 500 error - no email
When executing ```dart await _repository.teams.createMembership( teamId: event.listId, roles: ['member'], email: event.email, url: 'xxxx', ); ``` I se...