SAP Knowledge Base Article - Preview

2882850 - Name is too long error using REST Adapter

Symptom

You have a REST scenario (REST Sender or REST Receiver with sync-async), where REST Adapter sends a request using JSON and receives a response from the target server. After that, you execute some Operation Mapping and/or Message Mapping

While executing the Mapping, you receive the following error.

Mapping "http://<package>/xi/<scenario>/<mapping name>" failed to execute: MappingException: Mapping failed, IllegalArgumentException: Name is too long (54/50): x-ms-ratelimit-remaining-workflow-download-contentsize

The above is an example of http header that is sometimes sent by the Microsoft Dynamics System which has 54 characters and will be used as example in this document.


Read more...

Environment

  • SAP NetWeaver 7.4
  • SAP NetWeaver 7.5

Product

SAP NetWeaver 7.4 ; SAP NetWeaver 7.5

Keywords

REST, Adapter, Header, HTTP, Long, Module, Async-Sync, Bridge, Process Integration 7.0, PI 7.0, PI 7.01, PI 7.02, Process Integration 7.10, PI 7.10, Process Integration 7.11, PI 7.11, Process Integration 7.30, PI 7.30, 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 , KBA , BC-XI-CON-RST , Rest Adapter , 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.