【问题标题】:Fatal error while executing cron job in Google AppEngine在 Google AppEngine 中执行 cron 作业时出现致命错误
【发布时间】:2013-11-01 04:38:11
【问题描述】:

我想在 GAE 中执行一个 cron 作业,但我收到了这个错误。我想在不登录我的电子邮件的情况下使用应用引擎服务。

PHP Fatal error:  Uncaught exception 'Google_AuthException' with message 'Could not json decode the token' in /base/data/home/apps/s~gcdc2013-cloud-daybook/1.371004284914522718/google-api-php-client/src/auth/Google_OAuth2.php:162
Stack trace:
#0 /base/data/home/apps/s~gcdc2013-cloud-daybook/1.371004284914522718/google-api-php-client/src/Google_Client.php(170): Google_OAuth2->setAccessToken(NULL)

【问题讨论】:

    标签: php google-app-engine cron


    【解决方案1】:

    当你不从 cron 运行它时它是否工作?

    您似乎缺少服务帐户密钥,或者您没有正确加载它。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-12-31
      • 2012-03-19
      相关资源
      最近更新 更多