Having recently upgraded CSOM, loading the site object no longer works.
This has been an issue on all versions since 16.1.8029.1200..
Anyone else come across this issue and found a way round it?
We have connected the ClientContext to a number of different sites, and using the following..
ClientContext.Load(ClientContext.Site);
ClientContext.ExecuteQuery();
Comes back with the error:
The type of data at position 1185 is different than the one expected.
Currently our work around has been to downgrade to 16.1.7918.1200, which was the last working version that allowed this to work.