Discussions

Ask a Question
Back to All

No shipping solutions available based on the information provided

Hi, I am trying to demonstrate what I need in my website, at your API playground. I tried your prebuilt example (which they use an address in Hong Kong) it worked just fine, but when I changed to an American address (that is a valid address) it shows me this error: "No shipping solutions available based on the information provided"

Here is the CURL request of mine:

curl --request POST
--url https://api.easyship.com/2023-01/rates
--header 'accept: application/json'
--header 'authorization: Bearer <MY_TOKEN_HERE>'
--header 'content-type: application/json'
--data '
{
"origin_address": {
"line_1": "50 East Hague Parkway",
"state": "FL",
"city": "Acacia Villas",
"postal_code": "33406",
"country_alpha2": "US",
"contact_name": "Foo Bar",
"company_name": null,
"contact_phone": null,
"contact_email": "[email protected]"
},
"destination_address": {
"country_alpha2": "US",
"line_1": "2061 WRIGHT AVE STE A6",
"state": "CA",
"city": "La verne",
"postal_code": "91750",
"contact_name": "Moayad AlMoghrabi",
"company_name": null,
"contact_phone": "+10982393787",
"contact_email": "[email protected]"
},
"incoterms": "DDU",
"insurance": {
"is_insured": false
},
"courier_selection": {
"apply_shipping_rules": true
},
"shipping_settings": {
"units": {
"weight": "kg",
"dimensions": "cm"
}
},
"parcels": [
{
"box": null,
"items": [
{
"quantity": 2,
"dimensions": {
"length": 1,
"width": 2,
"height": 3
},
"description": "item",
"category": "fashion",
"sku": "sku",
"origin_country_alpha2": "US",
"actual_weight": 10,
"declared_currency": "USD",
"declared_customs_value": 20
}
],
"total_actual_weight": 1
}
]
}
'

Thanks.