You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
🐛 Bug Report: Malformed response when creating email session in Flutter #6250
Set up a project with a custom domain and email authorization enabled in Appwrite 1.4.1.
create a sample flutter app with the latest appwrite flutter library
create a user
attempt to create the same user
👍 Expected behavior
It should throw a 400 exception. The AppwriteException should have a valid code, message, response, and type.
👎 Actual Behavior
It correctly throws an Appwrite exception but the response is malformed. It returns code, response and type as null, and message as a long winded html page.
When looking at the web console, i can see the correct error is returned in the post but not in the flutter exception
🎲 Appwrite version
Version 1.4.x
💻 Operating system
Linux
🧱 Your Environment
Standard docker deployment of 1.4.1 in linux
👀 Have you spent some time to check if this issue has been raised before?
Activity
ItzNotABug commentedon Sep 15, 2023
I believe there were issues on
1.4&1.4.1, can you try migrating to1.4.2& see if that helps?stnguyen90 commentedon Sep 16, 2023
Also, did you include the
/v1for your endpoint?stnguyen90 commentedon Oct 5, 2023
@AlbertoBonfiglio, are you still facing this problem? FYI, I'll need to close this due to inactivity soon.
AlbertoBonfiglio commentedon Oct 10, 2023
Yes I did. I'll do a migration to the latest version this week and report back.
AlbertoBonfiglio commentedon Oct 16, 2023
As of 1.4.5 it works correctly. I did not test versions in between.