在Google AppEngine中执行cron作业时发生致命错误

问题描述:

我想在GAE中执行cron作业,但是出现此错误。我想在不登录我的电子邮件的情况下使用应用程序引擎服务。在Google AppEngine中执行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) 

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

它看起来像是您的服务帐户密钥丢失,或者您没有正确加载它。

+0

是的,它是手动运行。 – sha375420