Back

Cloud Issue, deleted test user being Cached

  • 0
  • Auth
  • Cloud
Kian
7 Mar, 2025, 16:41

Im restricted on AWS Sandbox mode for emails so I can only test with one email. I am testing the verification method and even though I've deleted this user and recreated when I request a new verification email it says user is already verified. Even when I deleted the user and have manually checked that the user is unverified on the website I still get the same response

{"message":"User email is already verified","code":409,"type":"user_email_already_verified","version":"1.6.1"}

TL;DR
Developers are experiencing an issue where a deleted test user is still being cached in the cloud, leading to a 'user email already verified' error message. The suggested solution is to use the server SDK or the Appwrite CLI to properly delete identities and clean up identities according to the documentation provided.
Steven
7 Mar, 2025, 16:51

im assuming this is on Appwrite Cloud?

Kian
7 Mar, 2025, 16:52

yes

Kian
7 Mar, 2025, 16:53

The user/email is deleted at the moment and yet I still get

Verification response: {"message":"User email is already verified","code":409,"type":"user_email_already_verified","version":"1.6.1"}

iI am logging in each time to get my session but that shouldnt happen either technically

Steven
7 Mar, 2025, 16:53

k ill add the Cloud tag to your post

Steven
7 Mar, 2025, 16:54

and to delete the identity, see https://appwrite.io/docs/products/auth/identities#list-and-delete-identities. you can use a server SDK or the Appwrite CLI

Kian
7 Mar, 2025, 16:54

I did use the CLI and it didnt seem to work, or is it somewhere else? I used Delete at the bottom of the Users section

Kian
7 Mar, 2025, 16:55

I'll try the sdk method right now

Steven
7 Mar, 2025, 16:58

what exactly did you do?

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more