A drug delivery device comprising: a primary container assembly including a reservoir, a plunger stopper disposed within the reservoir, and a drug delivery member fluidly coupled to the reservoir by a flow path; an insertion drive operably coupled to the primary container assembly to insert the drug delivery member in a first direction to a subcutaneous location in an insertion operation; a magnetic actuator coupled to the primary container assembly and including a shaft and a circuit with a coil encircling the shaft; and a drug dispensing assembly including a plunger rod and a drive operably coupled to the plunger rod to drive the plunger stopper through the reservoir with the plunger rod in a drug dispensing operation; characterized in that the drug delivery device further comprises: a force sensor coupled to the drug dispensing assembly and configured to measure force data associated with dispensing a drug from the reservoir through the drug delivery member to an injection cavity at the subcutaneous location; and a controller in communication with the force sensor and the magnetic actuator, the controller configured to direct power to the magnetic actuator to translate the shaft linearly through the coil in a second direction to partially retract the drug delivery member in response to determining that the force data indicates a force greater than or equal to a predetermined threshold. a primary container assembly including a reservoir, a plunger stopper disposed within the reservoir, and a drug delivery member fluidly coupled to the reservoir by a flow path; an insertion drive operably coupled to the primary container assembly to insert the drug delivery member in a first direction to a subcutaneous location in an insertion operation; a magnetic actuator coupled to the primary container assembly and including a shaft and a circuit with a coil encircling the shaft; and a drug dispensing assembly including a plunger rod and a drive operably coupled to the plunger rod to drive the plunger stopper through the reservoir with the plunger rod in a drug dispensing operation; characterized in that the drug delivery device further comprises: a force sensor coupled to the drug dispensing assembly and configured to measure force data associated with dispensing a drug from the reservoir through the drug delivery member to an injection cavity at the subcutaneous location; and a controller in communication with the force sensor and the magnetic actuator, the controller configured to direct power to the magnetic actuator to translate the shaft linearly through the coil in a second direction to partially retract the drug delivery member in response to determining that the force data indicates a force greater than or equal to a predetermined threshold. a force sensor coupled to the drug dispensing assembly and configured to measure force data associated with dispensing a drug from the reservoir through the drug delivery member to an injection cavity at the subcutaneous location; and a controller in communication with the force sensor and the magnetic actuator, the controller configured to direct power to the magnetic actuator to translate the shaft linearly through the coil in a second direction to partially retract the drug delivery member in response to determining that the force data indicates a force greater than or equal to a predetermined threshold.