I\'m currently working on an integration between systems and I\'ve decided to use WebApi for it, but I\'m running into an issue...
Let\'s say I have a model:
For me it was having more than one xmlFormatter added to the config.
While debugging I discovered the list of formatters, with a duplicate one.
config.Formatters.Add(new XmlMediaTypeFormatter());
Removed that line and it worked.
Files to check for that line