GAPI ERROR Analytics

1

I migrated the hosting project and using the GAPI class in PHP to collect information from Google Analytics , it does not work on the new server reporting the error:

  

Fatal error: Uncaught exception 'Exception' with message 'GAPI: Failed to request report data. Error: "GDataauthErrorAuthorizationInvalid Credentials" 'in

As if the login credentials were wrong. But the same test in localhost works perfectly. Does anyone know tell me if it is any resource on the hosting server that needs to be enabled? If yes, can you tell me which one? because the login data is correct.

    
asked by anonymous 31.08.2015 / 23:03

0 answers