cancel
Showing results for 
Search instead for 
Did you mean: 

Fsm integration via CPI is showing 400 error in trace mode

yashsap1
Participant
0 Kudos
782

Hi all, I am following a document to integrate sap fsm with sap aap :

https://help.sap.com/docs/SAP_FIELD_SERVICE_MANAGEMENT/fsm_data_api/response-shaping.html

I am deployed a iflow for it but while triggering its showing this error in trace mode.

What is {"error":"invalid_request","error_description":"One of required headers [X-Client-ID, X-Client-Version] is missing"},

but i have passed both & other headers in message header.

as I have tested the get request via postman ,that is working but when implementing same thing in cpi showing error

cpi error:

com.sap.it.rt.adapter.http.api.exception.HttpResponseException: An internal server error occured: HTTP operation failed invoking https://{cluster}.coresuite.com/api/data/v4/BusinessPartner?fields=salesPersons&dtos=BusinessPartner... with statusCode: 400. The MPL ID for the failed message is :

please help me what i have missed and what is resolution for it

message header

Accepted Solutions (1)

Accepted Solutions (1)

PriyankaChak
Active Contributor
0 Kudos

Hi Yash,

In the http adapter, request headers section, you have to specify the header names.

Enter a list of custom headers, separated by a pipe (|), that you want to send to the target system. By default, no custom headers are sent. Alternatively, use an * to send all custom headers to the target system.

https://help.sap.com/docs/CLOUD_INTEGRATION/368c481cd6954bdfa5d0435479fd4eaf/2da452effb764b3bb28f8e0...

Regards,

Priyanka

yashsap1
Participant

Answers (0)