Catch InvalidLocationError