You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the nuget release 2.1.1 and the current master branch, calling List() on ContactsClient results in a sucessful request and response but throws an exception when deserializing the response json into the Contacts class.
Inner Exception Message:
Unexpected character encountered while parsing value: {. Path 'pages.next', line 1, position 18348.
This appears to be due to the v2.0 API returning a 'next' pagination object, rather than a string as expected in the current class data structure.
This can be fixed by providing a Next class as follows:
Using the nuget release 2.1.1 and the current master branch, calling List() on ContactsClient results in a sucessful request and response but throws an exception when deserializing the response json into the Contacts class.
Inner Exception Message:
This appears to be due to the v2.0 API returning a 'next' pagination object, rather than a string as expected in the current class data structure.
This can be fixed by providing a Next class as follows:
and switching next in Page.cs from a string to this the new object like so:
I will prepare a PR for this.
The text was updated successfully, but these errors were encountered: