-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐛 Bug Report: Error is shown, but user is still created #80
Comments
@psschand16, thanks for creating this issue! 🙏🏼
Would you please share what the HTTP response body is for this case? The screenshot you shared is for a different network request rather than the API call to create the account. |
Hi @stnguyen90 , Many Thanks for looking into this and editing this. please note you can test the same html/javascript app at the below link I am sharing screenshots of the network requests below, for that case 2. |
@psschand16, thanks for all the info! 🙏🏼 I think the form is submitting and canceling the network request. we should probably add some |
Hi, @psschand16 have you found a solution or workaround? |
Fixed as part of #83 |
👟 Reproduction steps
Account Registration and other api endpoints are not stable or not idempotant.
I am using the below cdn
on debugging I its failing below, which is in Web SDK in /appwrite/src/services/account.ts
👍 Expected behavior
Ideally user is either created or not created.
users should be created as account api is called with necessary parameters
👎 Actual Behavior
I am getting different results for the same endpoint
As an example in the case of a register register endpoint.
case 1: account created successfully
I recieve a popup that account is created successfully.
case 2: account not created successfully but user is successfully entered in Appwrite auth console
you get a popup user not created but you can find them appwrite console
case 3: account not created successfully but user is not found in Appwrite auth console
🎲 Appwrite version
Version 1.2.x
💻 Operating system
Windows
🧱 Your Environment
web sdk
index.html on a live server
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: