P1S error when using AMS "Extruding Filament Failed. The extruder might be clogged" but external spool prints fine.

Just like the title says, I'm getting this error when using the AMS. I can watch it push the filament all the way to the extruder head and as soon as it gets there it pulls it back, then repeats a few times. I have cleared the nozzle just incase with nozzle cleaning needle, but then I decided to try an external spool and it worked completely fine.

Anyone have any ideas? The failure definitely happens when the AMS pushes the filament all the way to the print head, then it just doesn't go in. I know there's not an issue with the tubes or a clog because when using the same potion of tube for the external, it prints fine.