Hotend jams after a while during printing

I had a problem like this and couldn't understand why it happened. Then I was able to print some bearings for the filament spools by loosening the filament on the spools at it printed and it fixed the problem. The filament was not unspooling properly and would lay little to no layers in some places.

Not sure this is your problem but it was mine. Good luck