cancel
Showing results for 
Search instead for 
Did you mean: 

how to add extra http header in sap rest adapter

Former Member
0 Kudos

Hi Everyone:

          My scenario is SOAP--> PO -->  REST, now the rest provider ask me to add extra http header when I post my request.

otherwise,"A specified precondition has failed for this request (Missing context parameter 'X-tenantId'.)."

          Who can help me to solve this problem

Thank you

Accepted Solutions (1)

Accepted Solutions (1)

engswee
Active Contributor
0 Kudos

Hi Chen Long

The HTTP header you mentioned above looks like a custom one. From the roadmap of the REST adapter mentioned in the blog below, custom HTTP headers were planned to be shipped with PO 7.4 SP10.

However, based on 's experience from the following thread, it looks like it might not have been shipped on SP10

Re: SAP PI REST Adapter OAuth configuration

Rgds

Eng Swee

Former Member
0 Kudos

Hi Eng Swee:

       I update My PO from 7.4 sp08 to sp10, custom HTTP headers is shipped with my PO .

Thank you.

Answers (0)