Request clarification before answering.
Hi badhusha,
Looking at the error , it looks like you are not passing the required authentication to the target endpoint while accessing the API Proxy resource and therefore the target SAP Gateway system is triggering the SAML Request. While trying out the APIs from the resources tab, select the Add button next to the parameter and then select Header from the drop down. Specify the header name as Authorization and in the value for this header pass in your SAP Gateway credentials in Basic Authentication format .
Alternatively you can also test the API Proxy by navigating to the test console which is incorporated in the SAP API Management , refer help documentation
Thanks and Best Regards,
Divya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Divya,
Thanks for your reply.
After I gave the Authorization Header, the javascript error went, but now the data is not coming.
1. Error in API Resources
I tried giving as "Basic XXXXXXXXXXXX " pattern

2. Error in API Test Console

3. Local Gateway system response
Thanks,
Badhusha
Hi Badusha,
Have to tried to test the backend API standalone with Postman , looks like the issue is with backend API and not the Proxy/resource you have created in api managment.
Thanks,
Manoj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.