Error returned from ShipStation: Invalid carrierCode, Acctivate Order Number: {OrderNumber}

A misconfigured Ship Via can result in Ship Station sync errors when trying to send orders from Acctivate to ShipStation

Acctivate has a pre-mapped integration with ShipStation allowing for a consistent and stable integration. You can map your Carriers and Carrier Services to ShipStation, as well as define which Ship Via's will be exported. However, an improperly configured Ship Via can result in the following error when attempting to export an order to ShipStation:

Error returned from ShipStation: Invalid carrierCode, Acctivate Order Number: A1603T

This error is due to an incorrectly configured Ship Via. When a Ship Via has been assigned a default Carrier, but not a default Carrier Service, selecting the Ship Via on the sales order will result in the Carrier being set in the database, but no Carrier Service. Acctivate will attempt to send just the Carrier to ShipStation, and not a Service, resulting in the error.

If a Ship Via has been configured to be exported to ShipStation, then you should ensure that both a Carrier and Carrier Service are set, or neither are set.