Open JamesOPCS opened 2 months ago
PETOSS-573
Thanks for raising an issue, a ticket has been created to track your request
Restsharp is not included in the latest version:
https://github.com/XeroAPI/Xero-NetStandard/commit/6b441d31166d6cfda23417bb2d9662328d3ebe8c
SDK you're using:
Describe the bug So effectively it is the same issue as reported in the below, except it is still happening in version 9.1.0: https://github.com/XeroAPI/Xero-NetStandard/issues/513
I note that in the comments it says the following:
"We have replaced RestSharp with core httpClient library in our new Dotnet SDK version 9.0.0
Please install the latest version and hopefully RestSharp issue will not occur anymore."
However, if you update RestSharp beyond 110.2.0 then I get the following:
Method not found: 'Void RestSharp.RestRequest.set_Timeout(Int32)'. at Xero.NetStandard.OAuth2.Client.ApiClient.newRequest(HttpMethod method, String path, RequestOptions options, IReadableConfiguration configuration) at Xero.NetStandard.OAuth2.Client.ApiClient.d__9`1.MoveNext()
To Reproduce Same as other issue linked but to be clear:
Expected behavior Return list of invoices.
Thanks, hopefully someone can help 🤞