ENUM

ErrorCode

link GraphQL Schema definition

  • enum ErrorCode {
  • # Query AMS requires exactly one field input
  • INVALID_AMS_QUERY_INPUT
  • # Cannot update field to given value.
  • CANNOT_EDIT_FIELD
  • # You cannot request a customs bond for an importer if one has already been
  • # requested.
  • IMPORTER_BOND_ALREADY_REQUESTED
  • # The default error for invalid field inputs.
  • INVALID_FIELD
  • # An invalid email was provided.
  • INVALID_EMAIL
  • # An invalid FIRMS code was provided.
  • INVALID_FIRMS
  • # An invalid EIN code was provided.
  • INVALID_EIN
  • # The importer-of-record number provided did not match any known formats (EIN,
  • # SSN, or CBP-assigned)
  • UNRECOGNIZED_IOR_NUMBER_TYPE
  • # An invalid DUNS number was provided.
  • INVALID_DUNS
  • # An invalid PUN was provided.
  • INVALID_PAYER_UNIT_NUMBER
  • # The provided CID is already registered for a different entity for your
  • # organization.
  • DUPLICATE_CID
  • # The name of the file provided did not include an extension.
  • MISSING_FILE_EXTENSION
  • # You cannot cancel a bond request if there is no active request.
  • NO_ACTIVE_BOND_REQUEST
  • # You must submit this document before requesting an entry
  • MISSING_COMMERCIAL_INVOICE
  • # You must submit this document before requesting an entry
  • MISSING_BILL_OF_LADING
  • # You must submit this document before requesting an entry
  • MISSING_ARRIVAL_NOTICE
  • # A shipment cannot be marked hot if it has already been marked hot.
  • SHIPMENT_ALREADY_HOT
  • # You cannot skip or submit an ISF if it has already been submitted
  • ISF_ALREADY_FILED
  • # You cannot skip or submit an ISF if it has already been skipped
  • ISF_ALREADY_SKIPPED
  • # You cannot skip or submit an ISF if the mode of transport of the shipment is not
  • # ocean or rail.
  • INVALID_MOT
  • # You cannot submit an ISF while INLT is acquiring a customs bond for the
  • # shipment's importer.
  • PENDING_ISF_BOND
  • # This PGA is not yet supported via INLT's public API
  • UNSUPPORTED_PGA
  • # The importer is inactive.
  • UNACTIVATED_IMPORTER
  • # The provided master bill is a duplicate
  • DUPLICATE_MASTER_BILL
  • # The provided house bill is a duplicate
  • DUPLICATE_HOUSE_BILL
  • }