cancel
Showing results for 
Search instead for 
Did you mean: 

Developing with SAP Integration Suite - Test the API Proxy is always failed with 404

hamiltongu
Associate
Associate
0 Kudos

Hi experts,

In the learning of "Developing with SAP Integration Suite" -> Unit 2 -> Creating an API based on Slack, the Task 1 ~ 4 are fine (Slack_v1 is created and deployed successfully).

However in "Task 5: Test the API Proxy", I tried the "Send" button to test the GET /v1/Slack/channels call, it always feedback 404, the Service is unavailable.

May I know what is the possible reason behind, and how do I fix that? If you need any other info, let me know.

Here is the screenshot (My subaccount is in US East (VA)

hamiltongu_0-1678776805945.png

 

Margit_Wagner
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi @hamiltongu
We have received your request and are in the process of evaluating the problem.
Please allow for a delay in our response.
Kind regards
Margit

View Entire Topic
Illya
Product and Topic Expert
Product and Topic Expert

Hi nkrishna,

the error tells us that it has something to do with the API key variable in the externalization step.

Please check the previous steps where you configure the API key (from step 12). First try not to use the externalization step. If it works, then it has something to do with how you configured the externalization step for the API key variable ( {{key}} ).

If it doesn't work either, then your API key may be incorrect. In this case, go back to
https://api.sap.com/api/API_PURCHASEORDER_PROCESS_SRV/tryout   .

and click the "Show API Key" button in the upper right corner to get the correct API key.

Hope, this will help you!
BR,
Illya

nkrishna
Explorer
0 Kudos

Hello lIlya,

Still I am facing problem while configuring OData connection, I am getting error message in step 1 - Failed to connect to the system

Address used - https://sandbox.api.sap.com/s4hanacloud/sap/opu/odata/sap/API_PURCHASEORDER_PROCESS_SRV

I have removed externalization and used same API key created for my user in api.sap.com in the context modifier - header parameter - APIKey - TSU1f4dbpstPqUYFKV49dlHrV8Kan055

I even tried alternative option suggested by you - https://sandbox.api.sap.com/s4hanacloud/sap/opu/odata/sap/API_PURCHASEORDER_PROCESS_SRV/tryout, I am not able to move to step 2 from "Connect to the system"

 Error_1.PNG

Thanks & Regards,

Nagendra

 

Illya
Product and Topic Expert
Product and Topic Expert
0 Kudos
Hi Nagendra,