Discussions

Ask a Question
Back to All

API Website Rate Error

I am trying to test out the rate calculation function on the website and after entering the information and my code I get the following error:

curl --request POST
--url https://api.easyship.com/rate/v1/rates
400 Bad RequestMetadata
{
"message": "Rates could not be calculated",
"errors": [
"No Items"
]
}

Here is the data that I am entering into the EasyShip Site:
origin_postal_code 07470
origin_city Wayne
origin_state NJ
destination_country_alpha2 US
destination_city Wayne
destination_state NJ
destination_address_line_1 54 Leonard Terrace
destination_address_line_2
destination_postal_code 07470
taxes_duties_paid_by Sender
is_insured FALSE
actual_weight 1
height 6
width 4
length 2
category mobile
declared_currency USD
declared_customs_value 100
quantity 1
output_currency USD
apply_shipping_rules TRUE
box.length 2
box.width 4
box.height 6
total_actual_weight 1

After entering everything it ask for my authorization token so I enter:
sand_VEx.....=
Any ideas why I am getting this Error?