Magento 2 shipping methods showing exception UPS/USPS
المحلول
The issue might be of some address problem. See if this link given below can help you out :)
http://wiki.onestepcheckout.com/index.php?title=Shipping_methods
EDIT :
Just try this from a different network. The issue might be that the web services url are blocked in your office network. This prevents the request from hitting the shipping carrier servers. Also recheck your credentials before entering.
Trying from a different network connection worked for me !
نصائح أخرى
Hello @Omkar
I think it may be zipcode issue. Try to enter right zipcode for billing and shipping address.
solution for this issue is
write a mixin or override a vendor\magento\module-ups\view\frontend\web\js\model\shipping-rates-validation-rules.js add a region in validation rules
that is
getRules: function () {
return {
'postcode': {
'required': true
},
'country_id': {
'required': true
},
'region_id': {
'required': true
},
'region_id_input': {
'required': true
}
};
}
i posted in
https://github.com/magento/magento2/issues/12211#issuecomment-398658159