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
- Relationship lists aren't showing
In flutter, when I perform a listRows function for my table which contains various relationships in addition to normal data, I am not getting the relationships ...
- Error with realtime channels
I'm performing a subscription to realtime channels, and after a few seconds I get an exception with this error: {\"type\":\"error\",\"data\":{\"code\":1008,\"me...
- Which flutter SDK version for Self Hoste...
Hi all, Is there a good way to figure out which version of flutter SDK and Dart SDK is current for latest available self-hosted 1.8.0 ? I know new features are...