Closed mattshoaf closed 8 years ago
Never mind, finally figured out I hadn't decoded the AccessToken json.
If anybody else runs into this, replace $accessToken = $client->getAccessToken();
with
$service_token = json_decode($client->getAccessToken());
$accessToken = $service_token->access_token;
hello , i just follow u to can retrieve data from spreadsheet in drive but i got this message
You need permission 500 Internal Server Error - UnauthorizedException
please any help
I've created an API account and tested it with the Drive API, am able to retrieve the file info as expected when I use:
However, haven't gotten around the 500 Service unavailable error when I do this:
Here's how I set it's bootstrapped, if you can see what I'm missing, it would be much appreciated: