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

Can not validate addresses #11

Closed
thedodd opened this issue Nov 24, 2020 · 2 comments
Closed

Can not validate addresses #11

thedodd opened this issue Nov 24, 2020 · 2 comments

Comments

@thedodd
Copy link

thedodd commented Nov 24, 2020

Hello TaxJar folks. I am running into an issue where I am attempting to validate an address via the Go SDK. I am using the *taxjar.Config.ValidateAddress(taxjar.ValidateAddressParams{...}) method, and I am getting the following error:

0 Not Found - No such route 'POST /v2/addresses/validate'

A few pertinent details:

  • this is on the sandbox API.
  • using v1.1.0 of the Go client.
  • the input to the call is a completely valid address, using alpha-2 codes for country and state (it is a US address).
  • the associated TaxJar plan is a Professional level plan.
@tiffanie-taxjar
Copy link

Hi @thedodd - sorry for the delayed response here!

I am sorry it's a bit buried, but it is noted in our documentation here, "Some of the production API endpoints are not fully supported in the sandbox environment." If you click on the link in that sentence it will lead you to this support article that details the supported endpoints for our sandbox. Unfortunately address validation is not one of the supported endpoints.

However, there is good news, the address validation endpoint is not counted towards the billable API calls. You can test address validation using your production token for free!

I hope that helps, please let us know if you have any more questions or encounter any other issues!

@thedodd
Copy link
Author

thedodd commented Dec 4, 2020

Thanks for the info @tiffanie-taxjar! Good to know.

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

3 participants