SAP Knowledge Base Article - Public

2858995 - How to get the Error Details from cl_ble_http_client library

Symptom

  • When calling get_longtext() for a 400 error, the only text returned is "Outbound call failed with status code 400, reason: Bad Request"
  • Is there any way to get the full error response for the Bad Request

Environment

SAP S/4HANA Cloud

Resolution

  • There is currently no capability in the product to enable the retrieval of the error reason for a 400 error
  • SAP Product Development is considering adding the capability in a future release 

Keywords

Custom Logic, error, handling, error, response, details , KBA , BC-SRV-APS-EXT-BO , Custom Tables and Nodes , How To

Product

SAP S/4HANA Cloud all versions