I recall having trouble with this for one of my reservations. Wasn’t a name issue, but it was the flight number that I didn’t get right on my first attempt.
Unfortunately, I can’t remember if it was the first domestic AA segment#, the AA codeshare# of the 1st JL operated flight, or the JL prime flight# (even though it was booked as an AA codeshare) that ended up working.