Open payal-balanceit opened 4 years ago
@payal-balanceit Take a look at response.status_description
and response.error_description
I've also experienced this problem.
Error's backtrace leads me to the code:
https://github.com/veeqo/ups-ruby/blob/master/lib/ups/builders/organisation_builder.rb#L51
It means organization builder expects attention_name
option passed with a non-blank string. It called from add_ship_from
and add_ship_to
.
@payal-balanceit , as a workaround you can add non-empty attention_name
param to add_ship_from
and add_ship_to
methods
I suppose Veeqo uses these methods with all options filled in production.
(undefined method `[]' for nil:NilClass)