cancel
Showing results for 
Search instead for 
Did you mean: 

Calling External API In Workflow - Custom Task

0 Kudos

Hello Experts,

I am using Custom SAP UI5 application as User Task (using Business Application Studio as IDE)

When trying to call SAP oData Service, i am getting error "500 - Internal Server Error" (Please refer to error screenshots)

Steps followed

1) Added Destination Route in xs-app.json (Refer to Screenshot 1)

2) Added AJAX Query in Component.js (Refer to Screenshot 2)

3) Attached MTA and Manifest files ( i have attached mta and manifest files as TXT files)

Please let me know, what should be done to over come the error

Thanks and Regards

Hari Krishna

mta.txt screenshot-1.jpg screenshot-2.jpg errorscreenshot-1.jpg errorscreenshot-2.jpg manifest.txt

Accepted Solutions (0)

Answers (2)

Answers (2)

Archana
Product and Topic Expert
Product and Topic Expert
0 Kudos

Please check my blog, you have to add dependency of destination service instance to your application

Archana
Product and Topic Expert
Product and Topic Expert
0 Kudos

can you check if in xs-app.json of your application, you have "authenticationMethod" is "route"

0 Kudos

Hello Archana,

I have added authentication method as Route, still the problem persists

PFA screenshot fo xs-app.json

xs-app.jpg

Thanks and Regards

Hari Krishna