I am integrating FedEx delivery APIs for creating labels using Java. Everything works fine, but other than that. I get the following error when installing LabelFormatTypein COMMON2Dor LABEL_DATA_ONLYfor FedEx Freight ie FEDEX_FREIGHT_ECONOMYand FEDEX_FREIGHT_PRIORITY.
<Code>6022</Code>
<Message>Barcode Height missing from Custom Barcode Entry</Message>
I tried to add the height of the barcode in the fields below, but it doesn’t work
RequestedShipment -> ShippingDocumentSpecification -> CustomShipmentDocumentDetail -> CustomContent -> BarcodeEntries -> BarHeight
RequestedShipment -> ShippingDocumentSpecification -> CustomPackageDocumentDetail -> CustomContent -> BarcodeEntries -> BarHeight
RequestedShipment -> ShippingDocumentSpecification -> FreightAddressLabelDetail -> CustomContent -> BarcodeEntries -> BarHeight
RequestedShipment -> LabelSpecification -> CustomerSpecifiedDetail -> CustomContent -> BarcodeEntries -> BarHeight
Note. The code works for the other two LabelFormatTypeie FEDEX_FREIGHT_STRAIGHT_BILL_OF_LADINGand VICS_BILL_OF_LADINGother ServiceTypes.
I can’t find a solution yet.
Please let me know what I am missing?
source
share