Make sure that you have enabled and configured the Online Services plugin for use in your game. If you have not already done so, see the Setup and Configure the Online Services Plugins documentation page.