Forums

URL Open error

We are trying to integrate with your Orders endpoint and we get the following error
{ "httpCode":"500", "httpMessage":"URL Open error", "moreInformation":"Could not connect to endpoint" }

I include the CURL request below. Can you please help us resolve this issue? Many thanks.

curl 'https://api-sb.yodel.co.uk/shipping/v1.0/orders' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer AAIgMjMzZTkxZTYyMjc5MDkwN2QyYjNlNzBmMzRkZDkyYTluaCcFnfn6ObOSGD628M2XymjDUwy1CCEzYrjZg37EkoAg4lw6hM67IioU-KI8FiliTNqPmsmkJqJ5ORy6QYuscAkv8WMWgRZs4SwW9W-csspSTk0pHDy14mFU6Y5PTgQDOI0ylcboXBEzMtOJha0njBRT76txjR3c2pgVL2pVAg' \
-H 'Connection: keep-alive' \
-H 'Content-Type: application/json' \
-H 'X-IBM-Client-Id: 233e91e622790907d2b3e70f34dd92a9' \
--data-raw $'{\n "brand": "YODEL TEST",\n "clientAccount": 100001,\n "clientReference": "ABC1234567",\n "collectionPoint": 2,\n "contractNumber": 9876543,\n "customerReference": "ABC1234567",\n "labelFormat": "PDF",\n "numberOfParcels": 2,\n "service": "1CN",\n "shipmentDate": "2019-03-04",\n "to": {\n "address": {\n "addressLine1": "34 Oxford Road",\n "addressLine2": "Room 5",\n "countryCode": "GB",\n "county": "Lancashire",\n "departmentName": "Sales",\n "organisationName": "Yodel",\n "postcode": "M4 4AX",\n "town": "Liverpool"\n },\n "customerContactNumber": "0123456789",\n "customerEmail": "email@example.com",\n "customerName": "John Smith",\n "deliveryPreferences": "Leave by back door",\n "emailNotification": true,\n "phoneNotification": false,\n "storeCode": "W20T"\n }\n}' \
--compressed

We are trying to integrate with your Orders endpoint and we get the following error

{

"httpCode": "500",

"httpMessage": "URL Open error",

"moreInformation": "Could not connect to endpoint"

}

I include the CURL request below. Can you please help us resolve this issue? Many thanks.

curl --location --request POST 'https://api-sb.yodel.co.uk/shipping/v1.0/orders' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'X-IBM-Client-Id: 5f6f88905cc02b4deaed2f756e16bb3f' \
--header 'Authorization: Bearer AAIgNWY2Zjg4OTA1Y2MwMmI0ZGVhZWQyZjc1NmUxNmJiM2aTQ_4mvG19uz_E3Bnb9ECY5uVw7Hq8G66PqPYSqLQyfBpOdg2Yf71Fp8JA-uecgncXNkUCUmSuExpnMnh98fzq58jX7JtsolI2A3KLZURDahJzQVlr_0IduJizAAuQvg1xUDOVIPlOejxMNsXNO1gTsPG69Hh2-fDIzRttCvOckg' \
--data-raw '{
    "brand": "YODEL TEST",
    "clientAccount": 100001,
    "clientReference": "ABC1234567",
    "collectionPoint": 2,
    "contractNumber": 9876543,
    "customerReference": "ABC1234567",
    "labelFormat": "PDF",
    "numberOfParcels": 2,
    "service": "1CN",
    "shipmentDate": "2019-03-04",
    "to": {
        "address": {
            "addressLine1": "34 Oxford Road",
            "addressLine2": "Room 5",
            "countryCode": "GB",
            "county": "Lancashire",
            "departmentName": "Sales",
            "organisationName": "Yodel",
            "postcode": "M4 4AX",
            "town": "Liverpool"
        },
        "customerContactNumber": "0123456789",
        "customerEmail": "email@example.com",
        "customerName": "John Smith",
        "deliveryPreferences": "Leave by back door",
        "emailNotification": true,
        "phoneNotification": false,
        "storeCode": "W20T"
    }
}'

Support

Looking for help? Check out the frequently asked questions on our support page.

Contact us

Send us a message. We'll get back to you as soon as we can.

Get Social