Skip to Content
0

Issue with SAP Cloud Plattform "Failed to retrieve metadata"

Feb 24 at 11:22 AM

90

avatar image
Former Member

Hi Everyone,

i am just doing my first steps within SAP Cloud Platform and I'm going through the tutorial "Create app from prototype with SAP Web IDE" ( https://www.sap.com/developer/groups/webide-ux-1.html ) and i at the very last step. Meaning i'am trying to call the oData Service, but i am stuck at the issue "Failed to retrieve metadata"

please find the full error message shown:

"requestUri": "/codejam/toyspace/services/api.xsodata/$metadata?sap-language=DE",
	"statusCode": 404,
	"statusText": "Not Found",
	"headers": [],

so here is what i think / believe....

the requestUri is called within my Cloud Web IDE Environment https://webidetesting01134658-p1941234trial.dispatcher.hanatrial.ondemand.com

i think is should be calling the official site, because there i find the correct metadata

https://sapdevsdd27584c4.us2.hana.ondemand.com/codejam/toyspace/services/api.xsodata/$metadata?sap-language=DE

... but i am not 100% sure.

Thank you for your help and inspiration

Best Regards

Udo

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Ivan Mirisola
Mar 19 at 06:44 PM
0

Hi Udo,

If you have the destination created and mapped on your neo-app.json file as a route, Web IDE is capable of calling the service in a single URL. If, however you are not using the destination, errors calling the service will rise for sure. Please check the following blog for an example on how these things work in harmony.

Regards,
Ivan

Share
10 |10000 characters needed characters left characters exceeded