Unable to change filaments mid print

Any time I pause the machine in the middle of a print, either manually or through the “pause_at_layer” command, when I then try to unload or load filament I get the message “The machine is executing another task, try again later. If it stops working, please restart the machine.”

Is anyone else having this error or know how to fix it? I’m running Studio 1.2.2 with a Flux Delta+.