You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After installing version 4.0.0 of TaxJar and attempting to instantiate a new instance of TaxjarApi. When calling a new instance, the program is throwing a Method Not Found error.
Error
System.MissingMethodException: 'Method not found: 'Void RestSharp.RestClient..ctor(RestSharp.RestClientOptions, System.Action`1<System.Net.Http.Headers.HttpRequestHeaders>)'.'
Code Causing Error
publicTaxJarInterface(ITaxJarSecurity taxJarSecurity,int timeout =0){if(string.IsNullOrEmpty(taxJarSecurity.ApiKey))thrownewArgumentNullException("apiToken","Please provide an API token");ApiInterface=newTaxjarApi(taxJarSecurity.ApiKey){apiUrl=$"https://{(!taxJarSecurity.DemoMode?TaxJarConstants.DefaultApiUrl:TaxJarConstants.SandboxApiUrl)}",timeout=timeout};}
The text was updated successfully, but these errors were encountered:
Issue
After installing version 4.0.0 of TaxJar and attempting to instantiate a new instance of TaxjarApi. When calling a new instance, the program is throwing a Method Not Found error.
Error
System.MissingMethodException: 'Method not found: 'Void RestSharp.RestClient..ctor(RestSharp.RestClientOptions, System.Action`1<System.Net.Http.Headers.HttpRequestHeaders>)'.'
Code Causing Error
The text was updated successfully, but these errors were encountered: