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
- Flutter SDK broken by cloud.
Today I woke up to find all my flutter amd appwrite projects not working due to the sdk throwing error "Type "String" is not a subtype of "int"". Something chan...
- Database listRows method call failing in...
I'm getting an error when trying to use listRows in a flutter app on a database. It seems something in the backend has changed because the production version of...
- Realtime Connection Count only goes up
I just wanted to ask if this behavior is normal. I restarted realtime 2 days ago and it already reached a connection count of over 11k. The count only goes up. ...