cuongpd / gapi-google-analytics-php-interface

Automatically exported from code.google.com/p/gapi-google-analytics-php-interface
0 stars 0 forks source link

400 error thrown from google-php-client-api #98

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.When i am trying to refresh the token. It throws me 400 error.

What is the expected output? What do you see instead?
=> It was working three days back from today.

What version of the product are you using? On what operating system?
=> google-api-php-client-0.4.9

Please provide any additional information below.
=> Error I am getting is:

PHP Fatal error:  Uncaught exception 'apiAuthException' with message 'Error 
refreshing the OAuth2 token, message: '<HTML>
<HEAD>
<TITLE>Error processing OAuth 2 request</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Error processing OAuth 2 request</H1>
<H2>Error 400</H2>
</BODY>
</HTML>
'' in /../../../google-api-php-client/src/auth/apiOAuth2.php:243
Stack trace:
#0 /../../../google-api-php-client/src/apiClient.php(281): 
apiOAuth2->refreshToken('1/u7Gl0g-UTdYuk...')
#1 /../../../sample1.php(132): apiClient->refreshToken('1/u7Gl0g-UTdYuk...')
#2 /../../../sample1.php(78): sample1->getAnalyticalData('1/u7Gl0g-UTdYuk...', 
'UA-39858900-1|7...', '42506')
#3 {main}
  thrown in /../../../google-api-php-client/src/auth/apiOAuth2.php on line 243

Original issue reported on code.google.com by chitrang...@gmail.com on 19 Jul 2013 at 7:57