Skip to Content
-2

APi Management - Create API error

May 01 at 06:12 AM

96

avatar image
Former Member

Hi All,


I tried to create an API using the HCP API Management API Portal but it gives me an error in Create API Dialog. Below are the steps followed.


1. Created an "API Provider" successfully for the services.odata.org OData service URL as shown below setting the Authentication to None.

2. Then tried to view list of OData services available by clicking the 'Discover' option in the Create API dialog but it gave the following error. This error appears for any API provider I select.

error:

What could be the mistake in my steps that leads to this error?

api-create-1.png (7.9 kB)
api-create-2.png (13.4 kB)
api-create-3.png (18.5 kB)
api-create-4.png (25.2 kB)
10 |10000 characters needed characters left characters exceeded
Former Member

Update: I tried with the http://services.odata.org/OData/OData.svc/ and also one of the on-premise services. Same error appears for the latter API Providers as well.

0
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Nabheet Madan May 01 at 08:19 AM
0

Dear Manoj

Are you able to open this URL trip one? We have only three services available at services.odata.org

  • Products related
  • Northwind
  • Some Odata

Which are you trying to use?

Thanks

Nabheet

Show 6 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Dear Nabheet,

Yes, I can open http://services.odata.org/TripPinRESTierService.

regards,

Manoj

0

Hello

In such cases where we dont have the port stuff, we have directly created the API by choosing NONE as API provider. Please mention the complete endpoint http://services.odata.org/TripPinRESTierService/(S(4th3la52n145jihjs3pwbrta))/ in the API, it will work.

Thanks

Nabheet

0
Former Member

Hi Nabheet,

Still giving an error "Invalid or missing namespace for 'Schema'. [Request ID: 733cbc24-5517-4f7d-b4d6-a80a64c1d288]".

This may not be an issue of the service.odata.org OData service that I used.

Regards,

Manoj

0

Please check my , kindly add screen shot of your settings.

check.png (71.9 kB)
0
Former Member

please check the settings and CreateAPI screens.api-create-errror-6.png

0

Manoj please chose API Provider as NONE and provide directly the URL check my screen shots please.

0
Raghavendra Kulkarni
May 04 at 11:07 AM
0

Hi Manoj,

Discover is not working because discover is supported only for SAP GATEWAY APIs, you can try to use SAP ES5 if you want to discover services.

and I believe another API issue is solved as per the screenshot, if you are facing issue provide details.

Regards,

Raghavendra Kulkarni

Show 2 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Thank you Raghavendra. I'll give a try.

0
Former Member

Hi Raghavendra,


So does this mean the SAP Cloud API Management cannot be used with HANA XSOData as well?

regards,

Manoj

0