Skip to Content

[ODataMetadata] initial loading of metadata failed error while using OData service

Oct 17, 2017 at 12:46 PM


avatar image
Former Member


I am also getting the error "[ODataMetadata] initial loading of metadata failed" however I am using "odata/v2".

Actually, i am using my own VM to run the code.

Code for authorization:

Code for binding oData response to combobox:

The problem is when I put a debug point at authorization part then the odata response is successfully binded to combobox but if I do normal run or reload the page then I am getting "[ODataMetadata] initial loading of metadata failed" this error and in network response is 500 (internal server error).

Someone can suggest that what's wrong?



1.png (17.6 kB)
2.png (42.2 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers