The goal couldn’t prevent Coulson and his York City side from defeat against Barnsley in the Johnston Paint Trophy.