mattpawson

Results 4 comments of mattpawson

Hi @RettBehrens. I'm running it as a server side application. Basically, in this instance, the client facing web portal connects to a WebAPI2 API that then utilises the SDK to...

There doesn't appear to be an inner exception: **Message:** "An error occurred while sending the request." **Source:** "Xero.NetStandard.OAuth2Client" **Stacktrace:** " at Xero.NetStandard.OAuth2.Client.XeroClient.d__15.MoveNext()\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()\r\n...

> @mattpawson if you're using an older .NET 4.x project you'll need to ensure that your requests are being sent using TLS 1.2. > > Add this line to your...

You're a better man than I then! Thanks for your help! Begs the question why this exception wasn't bubbled up to OAuth2Client, even if in an inner exception though...