Back
Running updateEmail results in user_target_already_exists exception
- 0
- Flutter
- Messaging
- Auth
- Cloud

Hello everyone!
I'm running the following as part of my app (Flutter), so on the client side:
TypeScript
'email@example.com', // email
'password' // password
);```
This results in an exception:
``user_target_already_exists``
I understand this exception has to do with push notifications, which I have set up in my app. But I don't understand why ``updateEmail`` triggers this. ``updateEmail`` has nothing to do with push notifications. Does anyone have an idea what's going on?
TL;DR
Issue: When running `updateEmail` on Flutter app, `user_target_already_exists` exception occurs, related to push notifications setup.
Solution: The `user_target_already_exists` exception may be caused by conflicting registration of the user for push notifications. Review the push notifications setup in the app to ensure that there are no duplicate registrations for the same user.Recommended threads
- Adding "name" column to table creates 2-...
As stated, im adding the "name" column to one table, it adds 4 duplicates. In another table it adds 3 duplicates, and when I delete 1 of them, all duplucates di...
- Server Error when Pushing a Function
Get this ambiguous error when trying to push my function, it's TypeScript using NodeJS 18 ``` ? Which functions would you like to push? get-grades (get-grades)...
- Network error when attempting to fetch r...
Hi, I am trying to modify some database data in the console for testing but keep getting this error. I am on the appwrite cloud and have already tried clearing ...
