cancel
Showing results for 
Search instead for 
Did you mean: 

Using BTP Abode form service in UI5 custom app

vikasyadav
Explorer
0 Kudos
257

Hello Everyone

I attempted to call the Adobe Form Service in my custom SAP UI5 application via a destination in the Business Application Studio. I followed the guidance provided in the documentation available at the following link: Integrate REST API via Destination Service.
Not able to get the form response.

vikasyadav_0-1723622633633.png

Response Error

vikasyadav_1-1723622680426.png
Getting the Form response in the Postman

vikasyadav_2-1723623449845.png

Thanks in advance.



View Entire Topic
Dennis_Suck85
Participant
0 Kudos

Dear Vikasyadav,

Unfortunately, the "500 Internal Server Error" error is too general and doesn't provide a specific error description. You should check the connection from BAS (Business Application Studio) to the target system step by step.


Can you successfully call other services from BAS?


Here are some troubleshooting steps that can help you analyze the problem:


Destination Configuration
1) Ensure that the Destination configuration in BAS is correct.

2) Check the URL, authentication method, and other parameters.

3) Use the test tool in the target to ensure that the connection to the service URL is successful.


Authentication and Permissions

1) Ensure that the user credentials used in your UI5 application have the required permissions. These may be different from the
credentials used in Postman. Compare the request headers and payload.
2) Compare the headers and payload of the request sent by your UI5 application with those in Postman. Pay attention to differences in the
headers (e.g., content-type, authorization).
3) Ensure the payload structure is identical, especially for POST requests. Monitor network traffic in debug mode.
4) Use your browser's developer tools (F12) to monitor network traffic. Review the request and response for more information about the
error.


Backend logs
If possible, check the backend logs to see if any errors or exceptions were logged while processing your request.
I hope these steps will help you get closer to solving your problem.

Best regards

Dennis