When I open any
ODataV4 WS link in the browser I'm getting this error:
Every time I refresh the browser (Chrome, Firefox, Edge...) with each browser it gives the same error.
Inspecting Windows Server logs, every time I refresh in the browser, it appears an error log saying: "An item with the same key has already been added
". I only get this error with ODataV4. SOAP and OData work fine and give correct results in the browser.
Curiously, ODataV4 WS worked fine last week, besides, I had a backup NAV instance from 28th January and ODataV4 works. This error only happens in the production instance with especifically ODataV4.
I have already tried removing and re-adding the WS but it keeps giving the error. I don't understand why it's giving that error because I'm not trying to insert to the DB, I'm trying to read data. Right now I don't have the full stack trace but tomorrow I can post it.
Thank you guys