These docs are for v1.0. Click to read the latest docs for v2024.09.

Discussions

Ask a Question
Back to All

Unable to generate label with error "Sorry, we couldn't calculate the rates for this shipment, please try again later."

I am unable to generate a label for shipment with ID ESGB134843408 can you please check and let me know what's the issue?

Request

{
    "origin_address": {
        "line_1": "84 Hartley Green Gardens",
        "line_2": "billinge",
        "state": "England",
        "city": "wigan",
        "postal_code": "WN5 7GA",
        "country_alpha2": "GB",
        "company_name": "Paul Rawlings",
        "contact_name": "Paul Rawlings",
        "contact_phone": "+447936610017",
        "contact_email": "[email protected]"
    },
    "sender_address": {
        "line_1": "84 Hartley Green Gardens",
        "line_2": "billinge",
        "state": "England",
        "city": "wigan",
        "postal_code": "WN5 7GA",
        "country_alpha2": "GB",
        "company_name": "Paul Rawlings",
        "contact_name": "Paul Rawlings",
        "contact_phone": "+447936610017",
        "contact_email": "[email protected]"
    },
    "destination_address": {
        "line_1": "Hoevenseweg 41",
        "line_2": "-",
        "state": "North Brabant",
        "city": "Moerdijk",
        "postal_code": "4877LA",
        "country_alpha2": "NL",
        "company_name": "Vareya",
        "contact_name": "Vareya",
        "contact_phone": "+31763030540",
        "contact_email": "[email protected]"
    },
    "consignee_tax_id": "123",
    "incoterms": "DDP",
    "insurance": {
        "is_insured": false
    },
    "order_data": {
        "platform_name": "Open Border - #L4510875",
        "platform_order_number": "#L4510875"
    },
    "shipping_settings": {
        "units": {
            "weight": "kg",
            "dimensions": "cm"
        },
        "buy_label": true,
        "buy_label_synchronous": true,
        "printing_options": {
            "format": "url",
            "label": "4x6"
        }
    },
    "parcels": [
        {
            "total_actual_weight": 0.7909993469339472,
            "box": {
                "length": 15,
                "width": 10,
                "height": 10
            },
            "items": [
                {
                    "description": "S42C",
                    "category": "Skincare",
                    "sku": "S42C",
                    "hs_code": "3305.10.0000",
                    "origin_country_alpha2": "KR",
                    "quantity": 1,
                    "actual_weight": 0.5819995194886943,
                    "declared_currency": "USD",
                    "declared_customs_value": 0.01
                },
                {
                    "description": "SM8",
                    "category": "Skincare",
                    "sku": "SM8",
                    "hs_code": "3305.10.0000",
                    "origin_country_alpha2": "CN",
                    "quantity": 1,
                    "actual_weight": 0.0719999405553024,
                    "declared_currency": "USD",
                    "declared_customs_value": 0.02
                },
                {
                    "description": "SM9",
                    "category": "Skincare",
                    "sku": "SM9",
                    "hs_code": "3305.10.0000",
                    "origin_country_alpha2": "CN",
                    "quantity": 1,
                    "actual_weight": 0.1369998868899504,
                    "declared_currency": "USD",
                    "declared_customs_value": 0.03
                }
            ]
        }
    ]
}

Response

"{\"shipment\":{\"easyship_shipment_id\":\"ESGB134843408\",\"consignee_tax_id\":\"123\",\"courier\":null,\"created_at\":\"2023-03-09T18:01:06Z\",\"currency\":\"USD\",\"delivery_state\":\"not_created\",\"destination_address\":{\"city\":\"Moerdijk\",\"company_name\":\"Vareya\",\"contact_email\":\"[email protected]\",\"contact_name\":\"Vareya\",\"contact_phone\":\"+31763030540\",\"country_alpha2\":\"NL\",\"line_1\":\"Hoevenseweg 41\",\"line_2\":\"-\",\"postal_code\":\"4877LA\",\"state\":\"North Brabant\"},\"eei_reference\":null,\"incoterms\":null,\"insurance\":{\"is_insured\":false,\"insured_amount\":0.0,\"insured_currency\":\"USD\"},\"label_generated_at\":null,\"label_paid_at\":null,\"label_state\":\"not_created\",\"metadata\":{},\"order_created_at\":null,\"order_data\":{\"platform_name\":\"Open Border - #L4510875\",\"platform_order_number\":\"#L4510875\",\"order_tag_list\":[],\"seller_notes\":null,\"buyer_notes\":null},\"origin_address\":{\"city\":\"wigan\",\"company_name\":\"Paul Rawlings\",\"contact_email\":\"[email protected]\",\"contact_name\":\"Paul Rawlings\",\"contact_phone\":\"+447936610017\",\"country_alpha2\":\"GB\",\"line_1\":\"84 Hartley Green Gardens\",\"line_2\":\"billinge\",\"postal_code\":\"WN5 7GA\",\"state\":\"England\"},\"parcels\":[{\"box\":{\"id\":null,\"name\":null,\"outer_dimensions\":{\"length\":15.0,\"width\":10.0,\"height\":10.0},\"slug\":null,\"weight\":0.0},\"items\":[{\"actual_weight\":0.581999519488694,\"category\":null,\"contains_battery_pi966\":null,\"contains_battery_pi967\":null,\"contains_liquids\":null,\"declared_currency\":\"USD\",\"declared_customs_value\":0.01,\"description\":\"S42C\",\"dimensions\":{\"length\":0.0,\"width\":0.0,\"height\":0.0},\"hs_code\":\"3305100000\",\"origin_country_alpha2\":\"KR\",\"origin_currency\":\"USD\",\"origin_customs_value\":0.01,\"quantity\":1,\"sku\":\"S42C\"},{\"actual_weight\":0.0719999405553024,\"category\":null,\"contains_battery_pi966\":null,\"contains_battery_pi967\":null,\"contains_liquids\":null,\"declared_currency\":\"USD\",\"declared_customs_value\":0.02,\"description\":\"SM8\",\"dimensions\":{\"length\":0.0,\"width\":0.0,\"height\":0.0},\"hs_code\":\"3305100000\",\"origin_country_alpha2\":\"CN\",\"origin_currency\":\"USD\",\"origin_customs_value\":0.02,\"quantity\":1,\"sku\":\"SM8\"},{\"actual_weight\":0.13699988688995,\"category\":null,\"contains_battery_pi966\":null,\"contains_battery_pi967\":null,\"contains_liquids\":null,\"declared_currency\":\"USD\",\"declared_customs_value\":0.03,\"description\":\"SM9\",\"dimensions\":{\"length\":0.0,\"width\":0.0,\"height\":0.0},\"hs_code\":\"3305100000\",\"origin_country_alpha2\":\"CN\",\"origin_currency\":\"USD\",\"origin_customs_value\":0.03,\"quantity\":1,\"sku\":\"SM9\"}],\"total_actual_weight\":0.791}],\"pickup_state\":\"not_requested\",\"rates\":[],\"regulatory_identifiers\":{\"eori\":null,\"ioss\":null,\"vat_number\":null},\"return_address\":{\"city\":\"wigan\",\"company_name\":\"Paul Rawlings\",\"contact_email\":\"[email protected]\",\"contact_name\":\"Paul Rawlings\",\"contact_phone\":\"+447936610017\",\"country_alpha2\":\"GB\",\"line_1\":\"84 Hartley Green Gardens\",\"line_2\":\"billinge\",\"postal_code\":\"WN5 7GA\",\"state\":\"England\"},\"sender_address\":{\"city\":\"wigan\",\"company_name\":\"Paul Rawlings\",\"contact_email\":\"[email protected]\",\"contact_name\":\"Paul Rawlings\",\"contact_phone\":\"+447936610017\",\"country_alpha2\":\"GB\",\"line_1\":\"84 Hartley Green Gardens\",\"line_2\":\"billinge\",\"postal_code\":\"WN5 7GA\",\"state\":\"England\"},\"set_as_residential\":false,\"shipment_state\":\"created\",\"shipping_documents\":[],\"tracking_page_url\":\"https://www.trackmyshipment.co/shipment-tracking/ESGB134843408\",\"trackings\":[],\"updated_at\":\"2023-03-09T18:01:22Z\",\"warehouse_state\":\"none\"},\"meta\":{\"status\":\"partial_success\",\"errors\":[\"Sorry, we couldn't calculate the rates for this shipment, please try again later.\"]}}"