lvermeulen / Bitbucket.Cloud.Net

C# client for Atlassian Bitbucket Cloud
MIT License
13 stars 19 forks source link

DeleteRepositoryWebhookAsync deserialization error #25

Open mcdis opened 3 years ago

mcdis commented 3 years ago

Newtonsoft.Json.JsonSerializationException: 'No JSON content found and type 'System.Boolean' is not nullable. Path '', line 0, position 0.'

This exception was originally thrown at this call stack:
    Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(Newtonsoft.Json.JsonReader, System.Type, bool)
    Newtonsoft.Json.JsonSerializer.DeserializeInternal(Newtonsoft.Json.JsonReader, System.Type)
    Newtonsoft.Json.JsonSerializer.Deserialize(Newtonsoft.Json.JsonReader, System.Type)
    Newtonsoft.Json.JsonConvert.DeserializeObject(string, System.Type, Newtonsoft.Json.JsonSerializerSettings)
    Newtonsoft.Json.JsonConvert.DeserializeObject<T>(string, Newtonsoft.Json.JsonSerializerSettings)
    Newtonsoft.Json.JsonConvert.DeserializeObject<T>(string)
    Bitbucket.Cloud.Net.BitbucketCloudClient.ReadResponseContentAsync<TResult>(System.Net.Http.HttpResponseMessage, System.Func<string, TResult>)
    System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task)
    System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)
    ...
    [Call Stack Truncated]