Welcome to the baler fixit section. You have a slightly more difficult problem for a novice (both knots are bad !), but its actually an easier problem to solve for the experienced (both knots are bad). This is the number one problem in baler issues. Three possible causes: 1) The tucker fingers are not picking up the twine from the needles and delivering it to the billhooks. This is usually an adjustment fix. The manual explains how to do this real simple solution. Could be a loose or bent part, too. 2) The needles did not properly place the twine in the twine disk holders. If somebody replaced the needles or moved them, or bent them. They need to be readjusted back into proper position so the twine in placed right into the disk notch when they make their full rise position. 3) The hay dogs are not entering the bale case. These "dogs" or wedges or ramps hold the last flake in place while the tie gets completed. If the hay flops back out of the bale case and runs back to the receeding plunger, it can pull on the twine and yank it out of the billhooks or twine disk.
These are all adjustments best made like the manual says. Can be done in the field. I posted a video on YouTube showing a JD knotter running empty at idle speed if you want to see the action...
If you don't have a manual, get one. You will also need it to get to know the names of all the operationg parts: needles, tucker fingers, twine disk, hay dogs, billhooks and jaws, feeder forks, intermediate gears, etc.