Hi There,
We have been using the Contact and Calendar API successfully for years via the c# client libraries (Google.Apis.Calendar.v3.1.9.2.1330). An unusual error has started happening recently. It appears that a calendar API call is getting a contact API response (see below). Has anyone come across this before?
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.JsonTextReader.ReadInternal()
at Newtonsoft.Json.JsonTextReader.Read()
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType(JsonReader reader, JsonContract contract, Boolean hasConverter)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
at Google.Apis.Json.NewtonsoftJsonSerializer.Deserialize[T](String input) in c:\ApiaryDotnet\default\Src\GoogleApis.Core\Apis\Json\NewtonsoftJsonSerializer.cs:line 120
at Google.Apis.Services.BaseClientService.<DeserializeResponse>d__2`1.MoveNext() in c:\ApiaryDotnet\default\Src\GoogleApis\Apis\Services\BaseClientService.cs:line 263
--- End of inner exception stack trace ---
at Google.Apis.Requests.ClientServiceRequest`1.Execute() in c:\ApiaryDotnet\default\Src\GoogleApis\Apis\Requests\ClientServiceRequest.cs:line 102
at DataIntegration.Services.Google.ImportGmailCalenderService.ImportGmailCalendars(DateTime dateFrom, DateTime dateTo) in c:\buildworkspaces\NextRelease\DataIntegration\Services\Google\ImportGmailCalendarService.cs:line 59