Forum Discussion
Odata Error: The Feed's metadata document appears to be invalid
What's the OData endpoint?
I am sorry. I am new to this. You mean the URL?
https://odata.enersight.net/Version1311e201-9f9b-4afa-9e97-20ef72c15026
- pqian10 years ago
Microsoft Employee
I mean the URL you entered when you grab the feed.
That URL is guarded behind basic auth. So I'm not able to test it out. I wonder what happens when you do this in the browser:
https://odata.enersight.net/Version1311e201-9f9b-4afa-9e97-20ef72c15026/$metadata
If it's a valid end point, it needs to respond to this query with its CSDL. Similar to this:
http://services.odata.org/northwind/northwind.svc/$metadata
If it doesn't, then you may not have the right end point address.
- rstov3r10 years agoRegular Visitor
Nothing happens when I add /$metadata to the end of that URL nothing happens. When I remove that tag and put in my basic auth, I get the following:
- pqian10 years ago
Microsoft Employee
Can you post the response of the following URL
https://odata.enersight.net/Version1311e201-9f9b-4afa-9e97-20ef72c15026/?$format=json