SAP Knowledge Base Article - Preview

2546089 - "Bad Request" error when using arrays with single element

Symptom

You are using a REST Adapter Receiver Communication Channel and when sending a JSON request with only one element, PO does not recognize it as an array, raising the error bellow:

BadRequest.png

Error: Message processing failed. Cause: com.sap.aii.adapter.rest.ejb.common.exception.HttpCallException: HTTP POST call to <target> not successful. Bad Request


Read more...

Environment

  • SAP enhancement package 1 for SAP NetWeaver 7.3
  • SAP NetWeaver 7.4
  • SAP NetWeaver 7.5

Product

SAP NetWeaver 7.4 ; SAP NetWeaver 7.5 ; SAP enhancement package 1 for SAP NetWeaver 7.3

Keywords

Process Integration 7.31, PI 7.31, Process Orchestration 7.4, PI 7.4, PO 7.4, Process Orchestration 7.5, PI 7.5, PO 7.5, XI, AEX, POST, structure, elements , KBA , BC-XI-CON-RST , Rest Adapter , BC-XI-CON , Connectivity , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.