taxjar-node
taxjar-node copied to clipboard
validateAddress doesn't work. Endpoint 404 error is thrown.
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
}
Any chance of someone looking into this? It happens for me on the testing endpoint.