Long handed inserters are not able to grab cargo contents from the outermost tile on each side of a locomotive / cargo wagon, no matter if they insert onto the ground or into chest or assembler.

Related threads (already resolved):
viewtopic.php?f=11&t=28028
viewtopic.php?f=11&t=28964