SAP Knowledge Base Article - Public

2891475 - Unable to Download Response Payload From OData API Monitor

Symptom

You performed a GET call with the following path /sap/c4c/odata/v1/c4codataapi, but you are unable to download the response payload. A message is displayed in the OData API Monitor. Message: The size of the payload text is huge to display here. Click Download to save and view the payload.

But when clicking on download, the download is not triggered.

Environment

SAP Cloud for Customer

Reproducing the Issue

  1. Perform a GET Call with the following path /sap/c4c/odata/v1/c4codataapi
  2. Go to Administrator work center
  3. Click on General Settings view
  4. Click on OData API Monitor
  5. Select the relevant entry
  6. Click on View Response Payload
  7. Note: The size of the payload text is huge to display here. Click Download to save and view the payload.
  8. Click on Download

Cause

When executing the first HTTP GET call, a re-direct takes place, because it was missed to add a / at the end of the URL. Since it has been re-directed, a second HTTP GET call is automatically made. There are two log entries in the OData API Monitor:

  • The first HTTP GET call is not successful. The HTTP status code is 307. The response payload cannot be downloaded.
  • The second HTTP GET call is successful. The HTTP status code is 200. The response payload can be downloaded.

Resolution

This is the expected system behaviour.

Keywords

Response payload too huge, not shown in monitor, download feature, unable to download, OData API Monitor, , KBA , AP-RC-ODF , OData framework (C4C Only) , Problem

Product

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