Open wickedwick opened 2 years ago
You might need to use a debugger and check how exactly the API response looks like etc.
I've been trying that to no avail. When I attach and set a breakpoint on the CreateJobAsync
method then step into or over, nothing happens. There is no response, no exception is thrown, nothing happens.
So it seems that I'm getting a deadlock on var response = await base.SendAsync(request, cancellationToken);
in the WebApiHandler. Since I don't have a pdb of the SDK to debug, I implemented it in my project to step through. When I change it to var response = base.SendAsync(request, cancellationToken).Result;
, then I avoid the deadlock and can see a response.
I have a simple conversion use case. But it seems that CreateJobAsync hangs. During troubleshooting, I implemented creating a job via RestSharp and it completes just fine. I am seeing the same behavior with UploadAsync, and WaitJobAsync. Any idea what I'm doing wrong here?