Symptom
- The multi actions or data actions of a specific SAC model suddenly fail with a similar error as below: The multi action xxx has failed because of the following issues in one of its steps: - The data action step yyy has failed. Initiating changes to the public version zzz failed, so the data action yyy couldn’t run: An unexpected technical error occurred.
- If you try to manually enter values from a table or start edit mode for this public version, the following error is shown in the SAC frontend: An unexpected technical error occurred.
Meanwhile, in the HAR file, the following error is recorded in the response of the start-public-edit call:- {
"code": "1000",
"message": "An unexpected technical error occurred.",
"messageParameters": [],
"details": [
{
"code": "43310",
"message": "An error occurred during the execution of the EPM command 'init': {\"Number\":43310,\"Type\":2,\"Text\":\"Failed to initialize the session 'user: '...', schema: '....', model: '...', version: '''.\"}"
}
],
"additionalErrors": [
{
"code": "1000",
"message": "An unexpected technical error occurred.",
"messageParameters": [],
"details": [
{
"code": "43002",
"message": "An error occurred during the execution of the EPM command 'init': {\"Number\":43002,\"Type\":2,\"Text\":\"User is not authorized.\"}"
}
]
}
]
}
- {
- The same multi actions and data actions worked fine in the past.
Environment
SAP Analytics Cloud
Reproducing the Issue
Run a data action or a multi action containing a data action.
Or
Starting the edit mode of this public version with the following steps.
- Open a story containing a table.
- Right click this public Version member in the table.
- Version -> Start Edit Mode.
- Select all data or optimized planning area.
- Click Start.
- The error An unexpected technical error occurred" occurs.
Cause
The SAC model is corrupted somehow.
Resolution
Redeploy the SAC model that is failing from the Data and Performance section of Model Preferences as described in the online help: https://help.sap.com/docs/SAP_ANALYTICS_CLOUD/00f68c2e08b941f081002fd3691d86a7/ac714f6f6f86495b972fbe6fe06aa800.html#redeploy-model
Keywords
multi action, data action, sap analytics cloud, unexpected technical error, correlation ID, public edit mode, model redeploy, authorization, Failed to initialize the session, 43310, An error occurred during the execution of the EPM command 'init', An error occurred during the execution of the EPM command 'init': {\"Number\":43310,\"Type\":2,\"Text\":\"Failed to initialize the session , KBA , LOD-ANA-PL-VER , Version Management , LOD-ANA-PL-DA , Data Actions , Problem