Fuel tank overflow

WHEN FILLING MY FUEL TANK, THE AUTO SHUT OFF ON THE NOZZEL DOES NOT OPERATE.THIS HAS HAPPENED TWICE AT DIFFERENT STATIONS.I END UP SPILLING GAS OVER THE GROUND.PLEASE, WHAT COULD BE THE PROBLEM?