667 views
In this article, we will take a look at why the GetRawEntity api returns a 404 Not Found response for the default admin user in Sitecore Commerce.
Note: The GetRawEntity API is intended for troubleshooting and validation purposes and would be utilised by devops and developer users.

Reviewing the commerce logs we find that the QA role in not a role in the current request.
00064 22:41:06 ERROR CtxMsg.Error.QARoleNotFound: Text=QA is not a role in the current request. 00064 22:41:06 ERROR PipelineAbort:QA is not a role in the current request.
We can resolve this by updating the role memberships assigned the admin user, or any desired user.
- In Sitecore, go to the User Manager
- Select and edit the desired user
- In the Edit User modal,
- Select the MEMBER OF tab and edit the roles.
- Locate the sitecore\QA role and add it to the selected roles.

Note: If the user has already has received a token from Identity Server, a new token will need to be issued to receive the new role.
