Witam, próbuję połączyć się remotemManagerem z jednym z serwisów. Niestety mam poniższy wyjątek
System.Exception: „The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter http://company.ServiceModel.Model:GetAllEntity. The InnerException message was 'Error in line 1 position 1806. 'EndElement' 'Key' from namespace 'http://schemas.microsoft.com/2003/10/Serialization/Arrays' is not expected. Expecting element '_calendar'.'. Please see InnerException for more details.”
Jak można to naprawić? Poniżej wklejam cały kod:
RemoteManager manager = RemoteManager.CreateInstance("https://company.com/", "apiKey");
var list = manager.Entities.GetAllEntity(); //tu wyrzuca wyjatek