cancel
Showing results for 
Search instead for 
Did you mean: 
A New Home in the New Year for SAP Community!

Developing with SAP Integration Suite - Test API - Unable to fetch response

schioatto2
Galactic 2
Galactic 2
0 Kudos

Hi,

I apologize in advance for opening a new question although I see similar ones already opened:

https://groups.community.sap.com/t5/sap-btp-learning-q-a/developing-with-sap-integration-suite-unabl...

https://groups.community.sap.com/t5/sap-btp-learning-q-a/following-sap-integration-suite-c-cpi-14-tr...

The thing is, in none of those threads I could find a valid resolution for the issue. As for the others, the issue occurs after executing correctly the following steps:

1) Create the open connector instance

2) Create the API provider

3) Create the API

and basically consists in a failed test to the channel resource (See screenshot below)

schioatto2_0-1671723273340.png

As already pointed out in linked threads I'm receiving an 404 error when testing the connectivity to the provider. Error that I'm ignoring as suggested as the endpoint looks to be reachable anyway.

schioatto2_1-1671723542923.png

I tried now repeating the config multiple times and waiting for some time for it to adjust by itself, but unfortunately it's not working and would like assistance in solving the issue.

Thanks,

BR

 

Margit_Wagner
Employee

Hi @schioatto2
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

0

Answers (3)

Answers (3)

sklawonn
Employee
Employee
0 Kudos

There might be an system unavailability. Please validate this as follow.

Click under Design APIs on your configured API URL

sklawonn_0-1672242883919.png

After you opened the browser, activate the Developer Tools of your browser.

You should be able to see the HTTP Error.

sklawonn_1-1672243083427.png

 

 

schioatto2
Galactic 2

Hi,

When I click on the path provided by the deployed API, I indeed get an error:

https://95792d12trial.integrationsuite-trial01.cfapps.us10-001.hana.ondemand.com/shell/develop/api/S...

schioatto2_0-1672244089844.png

The error however is not a 404 but a 502 one (this has been the case also for my previous subaccount):

https://95792d12trial-trial.integrationsuitetrial-apim.us10.hana.ondemand.com/95792d12trial/v2/Slack

schioatto2_1-1672244190123.png

Thanks,

BR

sklawonn
Employee
Hi schoatto2, I need to discuss this in my team. I will reply asap. Thy
sklawonn
Employee
Employee
0 Kudos

Hi, it looks something went wrong with your credentials for the API provider.

Solutions:

1. Please set up your API provider again with the correct credentials

2. After you set up the API Provider navigate to the next set up step in the Exercise and configure your API "Design APIs".

Set up your API and validate if you are able to see the "Resources".

sklawonn_0-1672237318151.png

 

Please report feedback.

Thanks.

schioatto2
Galactic 2

Hi,

I am using copy paste from the open connectors page, so not sure what could go wrong during the craetion of the API provider.

https://my.openconnectors.trial.us10.ext.hana.ondemand.com/instances/elements

schioatto2_1-1672238220616.png

I deleted and recreated the API provider, this time inserting random credentials; the weird this is that the message does not change.

https://95792d12trial.integrationsuite-trial01.cfapps.us10-001.hana.ondemand.com/shell/configure/api...

schioatto2_2-1672238350887.png

I then corrected the credential copying and pasting organization and user secret.

I then deleted API v1 which was not working and created v2.

After deployment i went to check the available resources as suggested and I can see all the resources made available from the OpenConnectors Instance:

https://95792d12trial.integrationsuite-trial01.cfapps.us10-001.hana.ondemand.com/shell/develop/api/S...

schioatto2_3-1672239311633.png

When testing the API again from the console, I get the same error as before:

https://95792d12trial.integrationsuite-trial01.cfapps.us10-001.hana.ondemand.com/shell/testconsole

schioatto2_4-1672239938909.png

Can it be that for whatever reason, the system is not able to get the token from the OpenConnectors credentials provided and therefore both gives an 404 error when testing the connection to the API provider and an internal error 500 when testing the API from the console?

Thanks,

BR

sklawonn
Employee
Employee
0 Kudos

Could you please Share all of your used URL‘s With Screenshots.

And please Test to set up the openconnectors imstande new and redo the Training steps.

best regards

schioatto2
Galactic 2

Hi,

I created today a fresh new trial account starting integration suite configuration from scratch hence all subsequent artifacts.

However the issue seems to be the same:

1) All role collections assigned

https://account.hanatrial.ondemand.com/trial/#/globalaccount/3d852bf2-3231-4ffd-ba45-e416aa0183b9/su...

schioatto2_0-1672230272148.png

2) All capabilities seem provisioned and activated

https://95792d12trial.integrationsuite-trial01.cfapps.us10-001.hana.ondemand.com/shell/home

schioatto2_1-1672230658422.png

3) OpenConnectors Instance seem to be working fine as I am able to receive notifications

https://my.openconnectors.trial.us10.ext.hana.ondemand.com/elements/2103/api-docs?instanceId=4811860

schioatto2_2-1672230733375.png

4) API Business Hub Enterprise can be accessed correctly

https://95792d12trial.integrationsuitetrial-devportal.cfapps.us10.hana.ondemand.com/

schioatto2_3-1672231198589.png

5) Connection to OpenConnectors API provider looks to be fine

https://95792d12trial.integrationsuite-trial01.cfapps.us10-001.hana.ondemand.com/shell/configure/api...

schioatto2_4-1672231485538.png

6) Testing the API from the console results in the same error as before

https://95792d12trial.integrationsuite-trial01.cfapps.us10-001.hana.ondemand.com/shell/testconsole

schioatto2_5-1672231572388.png

I wanted to try and use the same region used in the tutorial but unfortunately Frankfurt is not available anymore for trial.

Not sure what else I could check...

Thanks,

BR

0