cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with SAP Cloud Plattform "Failed to retrieve metadata"

Former Member
0 Kudos

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-l...

... but i am not 100% sure.

Thank you for your help and inspiration

Best Regards

Udo

Accepted Solutions (0)

Answers (1)

Answers (1)

Ivan-Mirisola
Product and Topic Expert
Product and Topic Expert
0 Kudos

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