on ‎2025 Apr 04 7:34 AM
Hi Team,
We are trying to hit into CPI, but this is the error which we are getting, we are maintained OAuth credentials and we are doing SAP Ecommerce cloud. we are unable to hit the CPI and we are creating service request and we are creating this credentials and we are trying to hit into CPI, but it is not working. we are using standard integration flow(Replicate-Orders-From-SAP-Commerce-Cloud-To-SAP-S4HANA). We are getting 403 forbidden request, but if we just call HTTP if we create a dummy request HTTP we are able to hit, but Oauth it will not working.
Is there any whitelisting which needs to be done for the allowed IP's into the CPI.Can you please help us to trouble shoot.
Thanks & Regards,
Praneeth
Request clarification before answering.
From the attached screenshot it's not clear what type of Authorization you used. Please check this help page: Testing a Connection from SAP Commerce Cloud to SCI using an OAuth Token. As you can see first you need to do a POST request to obtain Bearer token and then use it in GET request with X-CSRF-Token set to Fetch in order to obtain CSRF token. After that both Bearer and CSRF can be used to do the POST request.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.