SAP Knowledge Base Article - Public

3389414 - Embedded SAC story shows "Error in permission deserialization" when trying to access a story

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

  1. Log into your system using SSO.
  2. Go to Business Analytics --> Design Stories.
  3. Open the story you wish to view.
  4. 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.

  1. The users is not assigned to the access context of the data source in the C4C system.
  2. The access context of the data source in Embedded SAC is not set correctly.

Resolution

For option 1 above please follow these steps.

  1. Log into your C4C system.
  2. Go to Business Analytics --> Design Data sources.
  3. Search for the data source used in your story.
  4. Select the line it is on and the details panel will populate below the data sources.
  5. Here you can see what access context the data source uses.
  6. Go to Administrator Work center.
  7. Go to Business Users.
  8. Search for the user experiencing the error.
  9. Click on Edit --> Access rights.
  10. Click on Access restrictions.
  11. Scroll over to see the column Access Context.
  12. Here you can see what access context restrictions are maintained for the user.
  13. If the access context of the data source is not in this list then the work center needs to be assigned.
  14. Ideally the restrictions should be Unrestricted for users that design stories.

For option 2 above:

  1. Log into your C4C system.
  2. Go to Business Analytics --> Design Stories.
  3. Edit your story.
  4. Click on the Filter Icon in the top left.
  5. Select Access Context
  6. 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

Product

SAP Cloud for Customer add-ins all versions ; SAP Cloud for Customer core applications all versions