You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error validating address: response.map is not a function
Error validating address: TypeError: response.map is not a function
at Object.formatResponse (<path>/node_modules/shipengine/cjs/validate-addresses/format-response.js:5:21)
at Object.validateAddresses (<path>/node_modules/shipengine/cjs/validate-addresses/index.js:19:30)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async validateAddresses (<path>/agent.js:20:20)
...
The text was updated successfully, but these errors were encountered:
When the auth key is invalid the sdk throws a generic exception with non-informative error message which makes these kind of errors hard to catch.
Version: "shipengine": "^1.0.7",
Code example:
error message:
The text was updated successfully, but these errors were encountered: