cancel
Showing results for 
Search instead for 
Did you mean: 

Unauthorised error while connecting to Built Process automation from CPI via HTTP Receiver Adapter

tharshini
Explorer
0 Kudos
200

Hi All 

We are trying to send ODATA API details to Build Process Automation using an HTTP receiver Adapter.

tharshini_1-1723552179287.png

 

We are using OAUTH2 Client Credentials from BPA in CPI.

But while deploying the iflow ,CPI gives unauthorized error.

tharshini_0-1723551599861.png

 

Please let me know if we are missing here any steps.

Thanks

Priya

 

View Entire Topic
Willem_Pardaens
Product and Topic Expert
Product and Topic Expert
0 Kudos

Could this error be due to an incorrect API endpoint being used? In the documentation, the API endpoint includes a "/public" segment: https://spa-api-gateway-bpi-eu-prod.cfapps.us10.hana.ondemand.com/public/workflow/rest (see https://api.sap.com/api/SPA_Workflow_Runtime/overview > Configuration Details).

tharshini
Explorer
0 Kudos
Even after including the URL as per documentation ,receiving error as com.sap.it.rt.adapter.http.api.exception.HttpResponseException: An internal server error occured: HTTP operation failed invoking https://spa-api-gateway-bpi-eu-prod.cfapps.eu10.hana.ondemand.com/public/workflow/rest/v1/workflow-i... with statusCode: 415.