karrioapi / karrio

Programmable Shipping API (self-hosted)

Home Page:https://karrio.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fedex Customs clearance detail cannot be null.

fi0 opened this issue · comments

commented
  1. Go to Create Label
  2. Fill out Recipient, Shipper, package and Customs Info
  3. Press Refresh Rates

Expected behavior
CUSTOM CLEARANCE DETAIL should be sent to the Fedex API

Additional context

Carrier: fedex
Connection: fedex
URL: https://apis.fedex.com/rate/v1/rates/quotes



{
  "transactionId": "...",
  "errors": [
    {
      "code": "RATE.CUSTOMCLEARANCEDETAIL.INVALID",
      "message": "Customs clearance detail cannot be null."
    }
  ]
}
commented

Hi @fi0,

I imagine this is happening with production keys right?
🤔 that would mean that the FedEx REST API somehow require customs clearance details even for rates request

commented

Yes this happened with the production keys. For rate requests, it seems to require customs clearance details for international shipments.