cancel
Showing results for 
Search instead for 
Did you mean: 

Error 403 when calling Process Automation API on deployed SAP Build App

v_blum2000
Explorer
0 Kudos
1,232

Hi all,

currently i'm facing an issue, where I receive an error 403 on trying to start my Process Automation workflow with this API: https://api.sap.com/api/SPA_Workflow_Runtime/path/post_v1_workflow_instances.
It's working when I start it with Postman. On the preview-version from SAP Build Apps it is also working fine.

But on the deployed version it isn't working. 
I found out, that the bearer token is missing:

v_blum2000_0-1712758605044.png

The common request header is filled. It looks like the data query "query.authConfig.authToken" is empty.

Does anybody has an idea what's wrong here? In the past it worked like a charm.

Thanks,
Vincent

Accepted Solutions (0)

Answers (1)

Answers (1)

v_blum2000
Explorer
0 Kudos

Hey guys,

we could solve it. The problem was my destination path.
I've set the complete URL to the API Endpoint, which caused this error.

To solve this issue, just set the url without the path - like that:
https://<host>.cfapps.<region>.hana.ondemand.com

and in sap build apps (DATA -> API), set the path after the Domain:

v_blum2000_1-1712930136028.png