/label/amazon Error: Amazon error InvalidShipFromAddress: None

POST to /order/order_number/label/amazon results in the error:

{
	"error_message": "Amazon error InvalidShipFromAddress: None",
	"param": null
}

JSON request:

{
	"delivery_confirmation": "NoTracking",
	"shipper_id": 999999,
	"shipping_method": "UPS_PTP_GND",
	"ship_from": {
		"company": "XXXXXXX",
		"street1": "XXXXXXX",
		"city": "XXXXXX",
		"state": "XX",
		"zip": "XXXXX",
		"country": "XX",
		"email": "XXXX@XXXXX.XXX"
	},
	"length": 10,
	"width": 10,
	"height": 7,
	"weight": 8
}

And:

{
	"delivery_confirmation": "NoTracking",
	"shipper_id": 999999,
	"shipping_method": "UPS_PTP_GND",
	"ship_from": {
		"company": "XXXXXX",
		"street1": "XXXXXX",
		"city": "XXXXXX",
		"state": "XX",
		"zip": "XXXXX",
		"country": "XX",
		"email": "XXXXXX@XXXXXX.XX",
		"fax": "",
		"name": "",
		"phone": "",
		"cart_address_id": "",
		"id": 0,
		"reference_number": ""
	},
	"length": 10,
	"width": 10,
	"height": 7,
	"weight": 8
}

I was able to successfully get a label several days ago without passing a ship_from, but I need ship_from so the label doesn’t contain the defaults set in Ordoro.

Hi,

Can you provide a request id for us to investigate further? this appears to be an error coming from amazon. Off the bat, I might assume it is because you are missing a phone in the address.

I tried adding a phone number. Same error.

I don’t know what field request id is or where to get it. The Seller Central order number is: 113-7283219-9449826

Request ID

this can be found in the X-ORDORO-REQUEST-ID header and will help us trace the request through our logs

Order 1-111-1644512-0137025. Just received:

{
	"error_message": "Amazon error InvalidShipFromAddress: None",
	"param": null
}
Array
(
    [server] => Array
        (
            [0] => nginx/1.15.3
        )

    [date] => Array
        (
            [0] => Mon, 09 Mar 2020 15:15:49 GMT
        )

    [content-type] => Array
        (
            [0] => application/json
        )

    [content-length] => Array
        (
            [0] => 77
        )

    [connection] => Array
        (
            [0] => keep-alive
        )

    [cache-control] => Array
        (
            [0] => no-cache,max-age=0,must-revalidate
        )

    [pragma] => Array
        (
            [0] => no-cache
        )

    [strict-transport-security] => Array
        (
            [0] => max-age=63072000; includeSubDomains; preload
        )

    [x-api-request-id] => Array
        (
            [0] => 6de70442-f024-49a8-b6d2-334089a23de3
        )

    [x-ordoro-api-server] => Array
        (
            [0] => i-0ff9c7919bcda0eca 1.1006.0
        )

    [x-ordoro-handled-by] => Array
        (
            [0] => ip-172-31-11-157
        )

    [x-apiverson-request-id] => Array
        (
            [0] => 6f8916f6-95da-4be0-8553-a7b11b97f08f
        )

)

It appears that there is nothing in the Name field. Have you tried shipping with an address with a name rather than the company?