cancel
Showing results for 
Search instead for 
Did you mean: 

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

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
Product and Topic Expert
Product and Topic Expert
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

sklawonn
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi schioatto2,

thank you for question.

The 404 Error isn`t really an Error. It is the communication between openconnectors and SAP BTP Integration Suite. So don`t worry it needs to get fixed by the dev team in the next release.

Pleas try out following before creating an API.

1. Check if you are able to access the API Business Hub Enterprise

sklawonn_0-1671725071987.png

If you don`t have access you need to update your User with some role collections.

sklawonn_2-1671725182561.png

Check if you have assigned all available role collections to your User.

sklawonn_3-1671725259502.png

It should look like this.

sklawonn_4-1671725288557.png

After that please log off from the SAP BTP Integration Suite.

Close all your Browsers and relogon to the SAP BTP and API Business Hub Enterprise.

After that you should be able to reconfigure your API.

Cheers 

Sebastian 

 

 

0 Kudos

Hi Sebastian,

Thanks for getting back so quickly!

I tried executing the steps you mentioned in your reply:

This is how my role user look like (can't assign any more role collections).

schioatto2_0-1671814935407.png

And I am able to access the Enterprise business hub:

schioatto2_1-1671815034500.png

After checking this, I made sure to clear the cache from all browsers, deleted every artifact created as part of the journey and recreated them from scratch.

However I am still facing the same issue during API testing:

schioatto2_2-1671815263088.png

After deployment, the API does not appear in the business hub and, when testing, I get the same error message as before which is difficult to investigate further.

Do you have any other advice?

Thanks,

BR

ruudsmeets
Discoverer
0 Kudos

Hi Sebastian,

I am facing the same problem as @former_member45309

I hope you can help us further by solving the error message.

Thx & Rgds RS

ruudsmeets
Discoverer
0 Kudos
Hi, Any news on this?
0 Kudos

Hi @ruudsmeets

I just checked and working for me now without doing anything.

@sklawonn Perhaps it is worth mentioning what the issue was (if it was solved by your team) in case it happens again?

Thanks,

BR

ruudsmeets
Discoverer
0 Kudos
Hi, Its working for me too. Thx!
sklawonn
Product and Topic Expert
Product and Topic Expert
@former_member45309 great to read! The dev team has informed me that an update has been uploaded. That's probably where it came from.

Answers (3)

Answers (3)

sklawonn
Product and Topic Expert
Product and Topic Expert
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

 

 

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
Product and Topic Expert
Product and Topic Expert
Hi schoatto2, I need to discuss this in my team. I will reply asap. Thy
sklawonn
Product and Topic Expert
Product and Topic Expert
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.

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
Product and Topic Expert
Product and Topic Expert
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

0 Kudos

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