on ‎2021 Mar 09 12:04 PM
Error Details
I was integrating S4hana with CPI and the BP got replicated and now when i trying to connect to subscription billing i am getting this error pls help guys what must be wrong
org.apache.camel.component.ahc.AhcOperationFailedException: HTTP operation failed invoking https://eu10.revenue.cloud.sap/api/business-partner/v3/customers?q=externalObjectReferences.external... with statusCode: 403
Request clarification before answering.
Dear Shalini,
According to the documentation refering at https://api.sap.com/api/BusinessPartner_APIs/resource
the error code 403 stands for missing authorizations of the user. "403- You do not have the necessary authorization as defined by the permissions (scopes) assigned to your user".
Please check the authorization of the user or check the Security Artifact that you are using on your iFlow at Overview/ Manage Security Material on CPI side.
Best Regards,
Shpresim Shabaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thank you Sir
Hello again,
For test purpose please add the other business-partner* scopes as well.
Before you deploy your iFlow you can test your authorizations by loging in and configuring your environment at the https://api.sap.com/ and by trying the requests that are being called on the iFlow. You can refer to the print screens below.


Regards,
Shpresim
please check your authorisation-setup. you have to use oauth2 if you want to consume this APIs.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Experts,
We are facing the issue CPI integration with Subscription billing.
org.apache.camel.component.ahc.AhcOperationFailedException: HTTP operation failed invoking https://us10.revenue.cloud.sap/api/product-service/v1/products/search?changedAfter=2021-12-09T00:00:... with statusCode: 400
We have deployed the OAuth Client credentials exactly .
Could you please help us.
Thanks & Regards,
Vinay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vinay,
Would you mind sharing your linkedln Id as not many people are working on Sb
My profile
Thanks and Regards
Shalini
Hi Vinay,
In another blog I see you said it was resolved.
But If you've got 400 error, it should not be related to credential, and you cloud be able to see the detail by search for 'responsebody' in CPI MPL.
Thanks
Frey
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Madam,
Please recheck the service instance and service key configuration authorization. From the error log it is still failing authorization. Recreating them with the full authorizations, as recommended from the document it would be an idea. You can remove the authorizations later again.
You can refer to the chapter 3 at the document: https://help.sap.com/doc/5fd179965d5145fbbe7f2a7aa1272338/latest/en-US/PlatformConfiguration.pdf
Regards,
Shpresim
We got the service instance created again and the CPI guys could connect the two systems
Thank you Sir the problem is solved we could see s4 hana bps in SB and the connection is done
Now I am working on connection from SB to s4hana
Thank you Sir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 40 | |
| 9 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.