/api/admin/users always gives ROLE_NOT_FOUND when trying to change role
Completed
The following works:
- Creating a new user with https://developers.yellowfinbi.com/dev/api-docs/current/#operation/createUsersAdmin
- Sending https://developers.yellowfinbi.com/dev/api-docs/current/#operation/updateUserAdmin - ONLY IF THE ROLE CODE IS THE SAME
- Changing the role manually in the UI from `YellowFin > Admin Console > Client Org > User`
What doesn't work is:
- https://developers.yellowfinbi.com/dev/api-docs/current/#operation/updateUserAdmin when the Role Code is changing
I always get {"code":400,"reason":"BAD_REQUEST","description":"ROLE_NOT_FOUND"}
I am using the `Database > OrgRole > RoleCode` column to use in the API PATCH request.
I believe there is a bug with this, unless I am doing something wrong???
Thanks for your help with this
Hi Philip,
As we are discussing this topic in the other incident raised (#26333) I will mark this as completed to avoid redundancy.
Best Regards,
Deepak
Hi Philip,
As we are discussing this topic in the other incident raised (#26333) I will mark this as completed to avoid redundancy.
Best Regards,
Deepak
Any solutions for this? using latest yellowfin version and having the same error.
Any solutions for this? using latest yellowfin version and having the same error.
Replies have been locked on this page!