Discussions

Ask a Question
Back to All

No shipping solutions available based on the information provided attempting to get a rate

Can you shed some light on this error please?

curl --location 'https://api.easyship.com/2023-01/rates'
--header 'Content-Type: application/json'
--header 'Authorization: Bearer XXXXX
--data-raw '{
"origin_address": {
"line_1": "5 Inez Drive",
"state": "NY",
"city": "Bay Shore",
"postal_code": "11706",
"country_alpha2": "US",
"company_name": "RH,
"contact_name": "Shipper",
"contact_phone": "5555555555",
"contact_email": "[email protected]"
},
"destination_address": {
"country_alpha2": "US",
"line_1": "2603 Brant St",
"state": "CA",
"city": "San Diego",
"postal_code": "92101",
"contact_name": "Bob D",
"contact_phone": "5555555555",
"contact_email": "[email protected]"
},
"incoterms": "DDU",
"insurance": {
"is_insured": false
},
"courier_selection": {
"show_courier_logo_url": false,
"apply_shipping_rules": true
},
"shipping_settings": {
"units": {
"weight": "lb",
"dimensions": "in"
}
},
"parcels": [
{
"items": [
{
"quantity": 1,
"dimensions": {
"length": 10,
"width": 10,
"height": 10
},
"description": "Shirt",
"category": "Clothing",
"sku": "123456",
"hs_code": "111111",
"contains_battery_pi966": false,
"contains_battery_pi967": false,
"contains_liquids": false,
"origin_country_alpha2": "US",
"actual_weight": 2,
"declared_currency": "USD",
"declared_customs_value": 5.00
}
],
"total_actual_weight": 5
}
]
}'

Getting this error:

{
"error": {
"code": "invalid_content",
"details": [
"No shipping solutions available based on the information provided"
],
"message": "The request body content is not valid.",
"request_id": "7dd5fc7cd5f6b090ac724f478f75befb",
"type": "invalid_request_error"
}
}