Software Version
6 and 8
Language Version
Node 20
Operating System
Mac
What happened?
retrieveStatelessRates does not return error messages.
You can see the implementation here:
https://github.com/EasyPost/easypost-node/blob/master/src/services/beta_rate_service.js
It returns an empty array of rates, but does not expose any error messages.
return this._convertToEasyPostObject(response.body.rates, wrappedParams);
I used this instead:
await client['_post'](url, wrappedParams)
What was expected?
I would expect a way to get the error messages after calling retrieveStatelessRates ( or a new retrieveStatelessRatesV2 )
Sample Code
Relevant logs