Google API客户端库-PHP:Google游戏服务发生错误(代码:500),没有任何消息
我正在使用GoogleAPI客户端库-PHP和GoogleAPI控制台上发布的服务帐户 我想获得排行榜列表,但出现错误代码500,没有任何消息 在API控制台上启用Google Play游戏管理、Google Play游戏服务、Google+API 而且,Android应用程序使用这个排行榜是正确的 我能做些什么来解决这个问题? 请求代码(PHP) 错误occoursGoogle API客户端库-PHP:Google游戏服务发生错误(代码:500),没有任何消息,api,server,google-api-php-client,leaderboard,Api,Server,Google Api Php Client,Leaderboard,我正在使用GoogleAPI客户端库-PHP和GoogleAPI控制台上发布的服务帐户 我想获得排行榜列表,但出现错误代码500,没有任何消息 在API控制台上启用Google Play游戏管理、Google Play游戏服务、Google+API 而且,Android应用程序使用这个排行榜是正确的 我能做些什么来解决这个问题? 请求代码(PHP) 错误occours Fatal error: Uncaught exception 'Google_Service_Exception' w
Fatal error: Uncaught exception 'Google_Service_Exception' with message 'Error calling GET https://www.googleapis.com/games/v1/leaderboards: (500) {
"error": {
"code": 500,
"message": null
}
}
另外,它是一个简单的查询类图书API,返回正确的结果没有错误
$service = new Google_Service_Books($client);
$optParams = array('filter' => 'free-ebooks');
$results = $service->volumes->listVolumes('Korea', $optParams);
var_dump($results) ;
告诉我你的任何建议。
谢谢您的帮助。:)强>
$service = new Google_Service_Books($client);
$optParams = array('filter' => 'free-ebooks');
$results = $service->volumes->listVolumes('Korea', $optParams);
var_dump($results) ;