Had to correct a file path. 'contests' instead of 'contest'