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

validateAddress doesn't work. Endpoint 404 error is thrown. #70

Open
MikeSpock opened this issue Nov 9, 2022 · 1 comment
Open

validateAddress doesn't work. Endpoint 404 error is thrown. #70

MikeSpock opened this issue Nov 9, 2022 · 1 comment

Comments

@MikeSpock
Copy link

validateAddress fails permanently.

 const client = new Taxjar({
    apiUrl: process.env.TAXJAR_API_URL,
    apiKey: process.env.TAXJAR_TOKEN
});

 client.validateAddress({
        country: 'US',
        state: 'AZ',
        zip: '85297',
        city: 'Gilbert',
        street: '3301 South Greenfield Rd'
    }).then(res => {
        console.log("RES",res)
        res.addresses; // Addresses object
    }).catch(e => {
        console.error(e)
    });

Throws and error:

    TaxjarError: Not Found - No such route 'POST /v2/addresses/validate'
    at proxyError (/test/node_modules/taxjar/dist/util/request.js:9:15)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  error: 'Not Found',
  detail: "No such route 'POST /v2/addresses/validate'",
  status: 404
}
@genio
Copy link

genio commented Jul 15, 2024

Any chance of someone looking into this? It happens for me on the testing endpoint.

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

2 participants