on 2024 Sep 03 8:13 AM
Hi,
I am trying to send request to SAP CPI via API Management.
But I am facing "401 Unauthorized" error while connecting to CPI though I have maintained correct credential in KeyValue Map. (CSRF token is unchecked in CPI HTTP adapter)
Using same credentials I am able to call CPI endpoint directly from Postman send data successfully.
I tried to test from both API Management and Postman(by calling API endpoint) but no luck. Also tried removing all the other policies.
Can someone help me understand if we have to do any kind of whitelisting or additional roles to be added to call CPI from APIM?
Below is the screen from APIM Debug :
Thanks in advance.
Regards,
Madhura
Request clarification before answering.
No. Nothing special is needed. The provided credentials are wrong or provided with the wrong header.
The best way to connect to iflows from API Management is using API Provider of type Cloud Integration Flow. You start by configuring an API Provider of type Cloud Integration and then create an API Proxy with discovery using this. There is no need to configure any policies to connect to iFlows, if you do it this way.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
79 | |
29 | |
9 | |
8 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.