Why is my address validation call through REST API resulting in error?
Overview
We sent messages to validate address
(https://avatax.avalara.net/1.0/address/validate) and get tax
(https://avatax.avalara.net/1.0/tax/get), and the result was different.
The message contains exactly same address, but the validate address
returned success, and the get tax returned error on its address.
Environment
Avalara Avatax
Resolution
- This is happening because through the REST API it is required for address validation calls to be sent with the following end point:
- (https://avatax.avalara.net/1.0/address/validate)
- The call will fail if not done so.
- The end point (https://avatax.avalara.net/1.0/tax/get) is strictly to be used for Gettax calls.