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
- how to access the value of account statu...
- Redirect from clicking team invite link ...
Hi all! Pretty new to app development in general so this might be something more generic than appwrite, but I've found (after reading the docs for the Teams API...
- Hosting Issues with Static IP not domain...
I have a machine with Static Public IP. I want to host Appwrite Site on it but I tried it but it doesn't allow IP addresses in Domain names. What should I do h...