PCode not found

Error Description

The PCode (pcd) provided in a location (loc) is not valid.

Example

{
  "err": [
    {
      "code": -12,
      "msg": "PCode not found."
    }
  ]
}

How to Resolve

Validate that the PCode field (pcd) on all locations (bill, from, to, or loc) is a valid PCode.

Use the /api/v2/afc/PCode endpoint to validate that the correct PCode is being used for a country/state/county/city.