Symptom
User sees an error when trying to design a story.
Example of the error:
Error in Permission deserialization. User ABCDEF not authorized to execute view : C4C_DATASOURCE.ABCDEF Correlation ID: 123456789-0000-0000-0000-0123456789
Environment
- SAP Cloud For Customer
- SAP Embedded SAC
Reproducing the Issue
- Log into your system using SSO.
- Go to Business Analytics --> Design Stories.
- Open the story you wish to view.
- You will see the error below.
Error in Permission deserialization. User ABCDEF not authorized to execute view : C4C_DATASOURCE.ABCDEF Correlation ID: 123456789-0000-0000-0000-0123456789
This error may or may not have a correlation ID at the end.
Cause
There are two possible causes.
- The users is not assigned to the access context of the data source in the C4C system.
- The access context of the data source in Embedded SAC is not set correctly.
Resolution
For option 1 above please follow these steps.
- Log into your C4C system.
- Go to Business Analytics --> Design Data sources.
- Search for the data source used in your story.
- Select the line it is on and the details panel will populate below the data sources.
- Here you can see what access context the data source uses.
- Go to Administrator Work center.
- Go to Business Users.
- Search for the user experiencing the error.
- Click on Edit --> Access rights.
- Click on Access restrictions.
- Scroll over to see the column Access Context.
- Here you can see what access context restrictions are maintained for the user.
- If the access context of the data source is not in this list then the work center needs to be assigned.
- Ideally the restrictions should be Unrestricted for users that design stories.
For option 2 above:
- Log into your C4C system.
- Go to Business Analytics --> Design Stories.
- Edit your story.
- Click on the Filter Icon in the top left.
- Select Access Context
- Here you can define the access context of your story.
Keywords
access context, Error in Permission deserialization, User not authorized to execute view, Correlation ID, design stories, access rights, user, SAC, embedded SAC , KBA , AP-RC-ANA-SAC , C4C, ByD: SAC Integration , How To