cancel
Showing results for 
Search instead for 
Did you mean: 

Post payload to CPI iFlow from UI5 - Internal Server Error

andreeav
Explorer
0 Kudos

I need to send a JSON payload to an iFlow, in Postman the request is successful (with OAuth2 token retrieval and csrf in header), but the response in UI is Internal Server Error (the iFlow is also expecting JSON).

  • I am getting csrf token from GET request to CPI instance and pass it in the following POST request to CPI endpoint :

andreeav_0-1713953748556.png

 

  • The destination configuration is the following and added in xs-app.json andreeav_0-1713954109632.png

     

andreeav_2-1713953748536.png

Also curl -v -i cpi.dest returns 500

* Cpi destination and UI5 app are in different subaccounts.

- What could be the cause of this?

View Entire Topic
Dinu
Contributor
0 Kudos

I'm not sure if this is the issue, additional property HTML5.ForwardToken only makes sense together with No Authentication.