EasyPost/easypost-ruby

Better error message on Address validation fail

Closed this issue · 2 comments

When an address validation fails, we're clueless about what went wrong. It could be really helpful to return a list of the missing/invalid params that caused the request to fail.

On Addresss doc there is a param list, stating on each field if its required or optional. IMHO those validations should be done inside the library.

att14 commented

Address validation rules are too complicated to do client side. I'm going to close this, but we are working on improving our verification system server side.