User group assignment fails with "Failed to update account" / `target_user_id is required for role_change`
Android
If you're seeing a "Failed to update account" error when reassigning a user to a different group in the Esper Console, this article explains the issue and how to resolve it.
Understanding the error
When you attempt to move a user from one group to another (for example, from "US + C Region (Otter)" to "All Devices"), the operation fails with this message:
Failed to update [user]'s account try again later.
If you check your browser's Developer Tools network tab, you may see the underlying error:
target_user_id is required for role_change
This was a bug in the Esper Console where group reassignment requests were submitted without a required field. We've deployed a fix to resolve this issue.
How to fix this
- Wait a few minutes to ensure the fix has been deployed to your environment.
- Go to User Management in the Esper Console.
- Select the affected user.
- Reassign the user's group (for example, change from a scoped group to All Devices).
- Verify that you see a success notification and the group assignment updates correctly.
If the error persists
If you continue to see this error after waiting for the fix to deploy, gather the following information and contact Esper Support:
- A HAR file captured while reproducing the error. See How to Grab a HAR File for instructions.
- The affected user's email address and user ID
- The source and target group names and IDs
- Whether the issue affects all users or just one specific user
Do not attempt to make changes via the API without first confirming the requirements, as incorrect API calls could leave the user in an indeterminate state.
Still need help?
If you've completed the steps above and the issue persists contact Esper Support with the information gathered in the section above.
Please sign in to leave a comment.
Comments
0 comments