After installing the module and authorizing it I checked the report page and everything was working fine. A day later I get the following message (from watchdog):

Code: 401 - Error: Token invalid - Invalid token: Token not found - Message: Token invalid - Invalid token: Token not found Token invalid - Invalid token: Token not found Error 401

I set this up on several of my multisite sites. The same issue is happening with each one today.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

johns996’s picture

I think I've tracked this issue down to my multisite configuration. I share certain core database tables across all sites and when I installed this module and its dependencies I shared the Oauth tables from the main database. The shared tables were:

  • oauth_common_consumer
  • oauth_common_context
  • oauth_common_nonce
  • oauth_common_provider_consumer
  • oauth_common_provider_token
  • oauth_common_token

I chose to share them because they seemed to be empty in my base DB so I assumed they could be safely shared. I'm testing out a few sites with their own sets of tables and hopefully this resolves the problem.

EDIT: This did not work. The sites with the tables added to their database still had their report stop working just like my other sites. Apparently these oauth tables are not used with the GA Reports module, they are just added by the oauth module.

Plazik’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

7.x-1.x is unsupported. Please upgrade to 7.x-3.x.