
Recently , me and @sanemi started working on flutter and we integrated appwrite for user login , We have code according to the appwrite sdk for dart/flutter and the code was fine and smooth while we complie, but when we are testing it is showing error code 403 ..... which means somme permissions are not there but we provided all the required deeds. We already setup flutter application integration in appwrite.

@wess can you take a look at this?

Could you please share the problematic part of the code where you're getting the error?

@sanemi can you share network tab screen shot or curl request here??


and when i click to login button from which the action should be performed


As you can see the problematic block is under the network tab of error 403

When clicking in the error it specifies what's happening?

It shows 403 error forbidden

How are you performing the login?

Also, is this cloud?

We created action in flutter flow cloud where we integrated appwrite and sdk and all that in custom action

yes this is cloud


Did you have added flutterflow domain in your appwrite dashboard?

yes we did that

Hi @D5 I found that there is some issue related to cors on appwrite cloud. It is not allowed other domains to make request than localhost..

Did you added your domain to the list of allowed domains? Only localhost is allowed by default

Earlier I was using flutter app on web so I was missed that platform adding in web and also hostname was not added that's why the issue was arrissed.. now I have added wildcard in hostname for development purpose so am able to make the api calls....

Thank you everyone for the help<:appwritefire:823999000330895380>

Amazing! This means your issue is solved? 😄
Will go ahead and mark it as solved then 🙂 You can reopen this if there is still an issue

Sure 😁

Flutter sdk 403 response [SOLVED]

[SOLVED] Flutter sdk 403 response
Recommended threads
- I need urgent help - Error upgrading to ...
Hey guys, how are you? I waited for the self-hosted documentation to update so I could update my appwrite version to version 1.7.2. I ran the upgrade command ...
- S3 Bucket Error
Good afternoon. I tried to configure _APP_STORAGE_S3_ENDPOINT, Appwrite version 1.7.0. I tried two different providers, but on both I encountered an access erro...
- Upgrade from 1.6.2 to 1.7.2 error during...
I just went through the process of upgrading my selfhosted instance from `1.6.2` to `1.7.2`: ``` docker run -it --rm \ --volume /var/run/docker.sock:/var/r...
