Closed daschy closed 4 years ago
Hi, I am seeing this when we call the sandbox API but not yet in live. 🤞
I'm getting this as well - last time I saw something like this in the sandbox, I got it in production about a week later. Please help! We rely heavily on this software!
Not sure if it helps, but this doc suggests that rate type was deprecated some time ago. https://developer.avalara.com/api-reference/avatax/rest/v2/models/enums/TransactionSummary%20%3E%20rateType/
We don't use rate type, it's just failing to deserialize.
I too am suddenly experiencing this issue in the sandbox. FYI, I am on 19.11.0 but also tried 20.1.1. It appears to me that there has been a change in the API?
We are also seeing this in develop. The issue is that the Avalara v2 rest api is returning back 'G' now instead of what I presume was 71. This does not match the Avalara.AvaTax.RestClient.RateType enum and results in the error.
For reference, the response from Avalara:
"lines": [{ **snip** "details": [{ **snip** "rateType": "G",
Commenting out the deprecated RateType field in TransactionSummary.cs and TransactionLineDetailModel.cs allows everything to flow fine.
IMO this is a breaking change on the api side as updating the avatax client for all deployments is not going to be trivial.
Quick workaround:
var builder = new TransactionBuilder(....);
var response = _avataxClient.RestCall<MyTransactionModel>(
"POST",
new AvaTaxPath("/api/v2/transactions/create"),
builder.GetCreateTransactionModel());
Where MyTransactionModel
is the custom implementation of the response.
I'm having the same problem. I updated to the NuGet package 20.1.1 but still the same problem. we can't keep working until this problem is resolved
I received this response to my inquiry with Avalara support:
The error is due to a problem with our Avatax sandbox service. Our engineers are working to resolve it at this time. Please retry your process later today or tomorrow.
So it looks like its being treated as an issue on the API side.
This issue should have been resolved earlier this week.
I am using version 20.1
Occurs when calling
TransactionBuilder.create
.This issue is blocking our system. Since the tax calculation is not possible.
This issue occured since today (20 March 2020)
The response is the following
Following the exception