on 06-26-2022 1:29 PM
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.
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.You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.