I'm displaying Google Analytics reports at my site using Google Analytics Reports module which uses Oauth.

At the localhost on my computer it works fine.

But on a site my.example.com it is showing "OAuth token parameter missing" when I go to "admin/config/system/google-analytics-reports" and press "Start setup and authorize account".

I see this error in the watchdog:

Code: 401 - Error: Unauthorized - Message: GDataauthErrorAuthorizationInvalid Credentials

If I migrate my site from localhost to this site then also it works fine until I clear my cache.

enter image description here


The Linux server running my.example.com which was giving problem had time lag of 45 minutes. The moment I corrected it .. it worked.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.