-
Notifications
You must be signed in to change notification settings - Fork 77
Description
👟 Reproduction steps
Account Registration and other api endpoints are not stable or not idempotant.
I am using the below cdn
<script src="https://cdn.jsdelivr.net/npm/appwrite@10.2.0" />
on debugging I its failing below, which is in Web SDK in /appwrite/src/services/account.ts
const uri = new URL(this.client.config.endpoint + path);
return await this.client.call('post', uri, {
'content-type': 'application/json',
}, payload);
👍 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?
- I checked and didn't find similar issue
🏢 Have you read the Code of Conduct?
- I have read the Code of Conduct


