Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System.MissingMethodException still an issue with RestSharp on 9.1.0 #545

Open
JamesOPCS opened this issue Sep 5, 2024 · 4 comments
Open

Comments

@JamesOPCS
Copy link

JamesOPCS commented Sep 5, 2024

SDK you're using:

  • Version 9.1.0

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:
#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:

  1. Upgrade to the latest version of RestSharp.
  2. Call the GetInvoicesAsync method.

Expected behavior
Return list of invoices.

Thanks, hopefully someone can help 🤞

Copy link

github-actions bot commented Sep 5, 2024

PETOSS-573

Copy link

github-actions bot commented Sep 5, 2024

Thanks for raising an issue, a ticket has been created to track your request

@DanPatten
Copy link

Restsharp is not included in the latest version:

6b441d3

@JamesOPCS
Copy link
Author

Restsharp is not included in the latest version:

6b441d3

This is what I thought too. However, I'm still getting the issue even after updating.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants