Closed LanceMcCarthy closed 4 years ago
The API is returning a 200 code but weirdly returns MVP website HTML.
Of course, because this is not the expected JSON response, an exception occurs deserializing the result:
Here's the response (it's a large HTML view of the mvp website home page, I shortened it to just clarify that it's a view and not a json response):
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" class="" lang=en-us>
</html>
Updating the thread - the MVP API development team has been notified, they've acknowledged the issue and are working on it.
If you select Product Group Feedback as the
ContributionType
, and POST it to thehttps://mvpapi.azure-api.net/mvp/api/contributions?
endpoint, the API returns a 200 response.However, the response is HTML, not JSON data, and the activity is never added to the MVP's activities history.
Thus, the response cannot be deserialized properly and throws an expected Json.NET exception: