Xero - beautiful accounting software

Xero Developer Help Center

Xero Developer Community

Community > API Authentication >

Method not found RestSharp RestClient AddHandler

Started by Ashley Baxter -   in API Authentication

Greetings my fellow engineers,

I have a very perplexing issue where an api call works fine in the Xero-NetStandard-App sample, but the identical code when run in my application fails with the following error:

Method not found: 'Void RestSharp. RestClient. AddHandler(RestSharp. Deserializers .IDeserializer, System. String)

The issue obviously lies within the RestSharp library, but this is not directly referenced from my code, so is a different version somewhere in the underlying code.

Any assistance would be appreciated.