[SOLVED] User deletion in User table

If a user gets deleted from the user table in Moralis, is it possible to add them back?

You mean like restoring from a backup or like authenticating again?

Restoring that row in the table and authenticating again using that address. We deleted one of our addresses while testing and looks like that address is not able to connect again.

Was this in production and you need a restore or it was a testing environment?

It was a testing environment

This is the error that you get: Error: Account already exists for this email address. ?

@adityachakra16, it looks like you also have to delete the entry that corresponds to that address from _EthAddress table. And maybe also what entries were created in User table while the authentication failed. After that it should work fine to authenticate again with that address.

@cryptokid Thanks! Worked perfectly