The Update API fails with a 500 error whenever a user updates their profile (e.g., just the phone number), because the backend re-checks the email for uniqueness even though it hasn't changed. Since the email already exists for that same user, the database throws a "Duplicate entry" error and blocks the update.
https://grhombustechnologies710.sharepoint.com/:v:/s/Cupent-SPCACE/IQDlgkgqSkD8TJB9qSNFVHXYAbhdIPKDtteTr6wTeocapDM?e=BqVbwe