What to check
Yes. Get onto a moving freight train, walk along the cars and look for containers with a Break In prompt. Inside are crates with random loot, mostly weapons, ammo and explosives. It is a way to stock up, not a big cash earner. You cannot drive or steal the train itself: there is no prompt to enter the cab. - Board the train by jumping on from the side as it passes, or glide down onto the roofs with a parachute. - Walk along the cars. Some containers and boxcars show a Break In prompt at the doors. Hold it to force the lock and open them up, then open each crate inside and take what is there. - Loot is random. Players report Molotovs, sticky bombs, ammo and other weapons, and one run turned up a rocket launcher. Molotovs stop at five, so do not count on stacking them. Not every car can be opened. - Freight cars with an open end can also hold crates: look for the lowered metal plate at the open end, step inside and check the low container for an opening prompt. One recorded run in Port Gellhorn found Molotovs and a sticky bomb this way. - If this fails: if no Break In prompt appears on a car, that car does not open. Move to the next car. Jump off before the train reaches a town, or ride to the next car and loot again. - Trains are passenger transport too, not vehicles you can take. See https://freeroam.fyi/issues/gta-vi-can-you-drive-a-train and how to ride them at https://freeroam.fyi/issues/gta-vi-how-to-ride-train-bus-vice-city-metro
Editorial support reference, not an official Rockstar support response. If the issue continues, report the exact error, platform, game version, and checks already attempted to official support.