SAP Knowledge Base Article - Public

3378770 - Using Multi Action API to pass parameters from SAC to PaPM Cloud fails with error: The request response code 400 could not be recognized.

Symptom

SAC Multi Action API step only works with fixed values instead of parameters when passing from SAC to PaPM Cloud.

Environment

SAP Analytics Cloud Version 16.0

Reproducing the Issue

  1. Go to Multi Actions, create an API step.
  2. Use parameters in request body.
  3. Go to Story.
  4. Run the multi action. Select parameter in the prompt pop-up.
  5. Can see error message in the data action monitor: 2_C5359606 : [Multi-actions] The request response code 400 could not be recognized., Response.status 400, Response.body {"error":{"code":"null","message":"Error while deserializing payload"}}

Cause

Parameters values passed from the SAC side are in the Array format, however PaPM Cloud API expects to receive values in String.

Resolution

SAC standard team will add a new ToString() function which will be available for API parameters and this function can convert Array to String before API call.

This function will be introduced in 2024 QRC1, the timeline will change according to development progress.

See Also

Keywords

SAP Cloud for Planning, multi action, data action, advanced scripts, API, PaPM Cloud, 2_C5359606 : [Multi-actions] The request response code 400 could not be recognized., Response.status 400, Response.body {"error":{"code":"null","message":"Error while deserializing payload"}} , KBA , LOD-ANA-PL-MA , Multi Actions , LOD-PER-CLD , Profitability and Performance Management - Cloud , LOD-PER , Profitability and Performance Management , Product Enhancement

Product

SAP Analytics Cloud 1.0