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

Discussions

Ask a Question
Back to All

Sandbox access token not working

Hello All,
We have to try to integrate courier API. And We are facing the below issue.


{
"rates": [],
"messages": [
"Sorry, we couldn't find any shipping solutions based on the information provided."
]
}


For more information, I have shared the request parameter and API response.

API URL:- https://api.easyship.com/v2/rates

Request Parameter:
{
"origin_address": {
"postal_code": "91601",
"city": "Los Ángeles",
"state": "CA",
"country_alpha2": "US"
},
"destination_address": {
"postal_code": "95140",
"city": "Mount Hamilton",
"state": "CA",
"country_alpha2": "US"
},
"parcels": [
{
"total_actual_weight": 5,
"items": [
{
"quantity": 1,
"category": "mobile_phones",
"dimensions": {
"width": 10,
"height": 10,
"length": 25
},
"description": "Apple iPad",
"actual_weight": 5,
"declared_currency": "USD",
"declared_customs_value": 49500.55
}
]
}
]
}

Response Parameter:
{
"status": "failure",
"errors": [
"Sorry, we couldn't find any shipping solutions based on the information provided."
],
"request_id": "545b5f76a41e2994a13f384559dee625",
"timestamp": "2022-10-12T10:09:21.272Z"
}

Note:

  • This request parameter works with the production access token.
  • We have applied all possible solutions for this issue but didn't find anything.
  • Also we don't want to use the production access token because we are in the developing stage. so please please provide working with a sandbox solution.
  • So, Please provide us solution because our project deadline is near.
  • Please look into this on high priority.