Hi everyone, I'm getting the error below when calling the Create Phone Token. Then UA397 is the id of a user that I have just created before calling the Create Phone Token method. From a client perspective, we get an error 409 document_already_exists. I don't understand what is happening, I have already managed to get token via this method, but now I'm stuck with this issue which is impacting my production environment. For information, login with password and magic url are working but this is only this login method with OTP via SMS which is creating this issue. I'm on a self-hosted 1.6.1. Does anybody have an idea or a suggestion? Thanks a lot in advance for your support.
[Error] Method: POST
[Error] URL: /v1/account/tokens/phone
[Error] Type: Utopia\Database\Exception\Duplicate
[Error] Message: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'UA397' for key '_uid'
[Error] File: /usr/src/code/vendor/utopia-php/database/src/Database/Adapter/MariaDB.php
[Error] Line: 2406```
Recommended threads
- TOO_MANY_REDIRECTS after temporarily ena...
I am losing my mind over this, I enabled this setting because I was having issues with sites not making links with https. I enabled it, ran into issues, so I di...
- Flutter OAuth2 does not attach Google se...
Hi Appwrite team, I’m using Appwrite Auth in a Flutter mobile app and trying to upgrade an anonymous user to Google OAuth. Docs say that if there is already a...
- TablesDB `updateRows` returns `database_...
Hi Appwrite team! I’m seeing a strange issue with TablesDB bulk row updates on a self-hosted Appwrite instance. **Environment** - Appwrite self-hosted `1.9.0` ...