cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Cloud Integration with Concur using REST APIs

dreddy
Discoverer
0 Kudos

Hi,

I am trying to get Vendor data from SAP Concur using its REST API from SAP cloud integration. For this, I am using HTTP adapter with the below connection details.

Credentials used

I am able to get the vendor data via postman. However, I am getting an error when I test my integration flow.

com.sap.it.rt.adapter.http.api.exception.HttpResponseException: An internal server error occured: Status code:400; Reason:{"error":"invalid_client","concur-correlationid":"31ef238e-a3bf-4f67-a248-cddc18af937f","error_description":"unsupported request format","code":135,"geolocation":"https://us-impl.api.concursolutions.com"}.

Appreciate any inputs.

Accepted Solutions (0)

Answers (2)

Answers (2)

dreddy
Discoverer
0 Kudos

Hi Priyanka, thank you for your response. I did try that but it now just gives a generic server error. I don't find much details from the log as well. I have attached the log. messagelog-concurvendor.txt

When I directly call this Concur API via postman with client credentials, it works just fine. Not sure what I am missing in the cloud integration configuration.
PriyankaChak
Active Contributor
0 Kudos

hi Durai,

In the credentials, you have selected Client authentication as 'Send as Body parameter'. Can you please try selecting 'Send as Request header' and in the adapter setting disable 'Send Body'?

Regards,

Priyanka