Question

API Contact 'Error while serializing AppCount endpoint json result.'

  • 11 October 2022
  • 1 reply
  • 16 views

I am using the Dotnet API library and attempting to retrieve a lead through the ContactsClient, but am recieving the error 'Error while serializing AppCount endpoint json result.' This appears to be to do wuth the SocialProfile list/model as the SeaializationType is:

System.Collections.Generic.List`1[[Intercom.Data.SocialProfile, Intercom, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]

 

Has anyone else uncounted this issue or know of a solution?


1 reply

Userlevel 2

Hey @jacob t12​! Daniel from Customer Support Engineering here 🔧 

 

The Dotnet API library isn't built nor maintained by Intercom, so I'm unsure that it is the best resource to use here. If you wish to retrieve a lead via API, I highly suggest using Intercom's own Retrieve a Contact API endpoint. This will return a Contact model, detailing all of the lead's Intercom information. If this does not help you achieve what you need, could you please contact us via our Messenger, detailing your issue? Thanks!

 

Hope this helps 🙂

Reply