googleworkspace / php-samples

PHP samples for Google Workspace APIs
Apache License 2.0
290 stars 349 forks source link

Error #11

Closed testsoftuvo closed 6 years ago

testsoftuvo commented 6 years ago

Uncaught InvalidArgumentException: file does not exist in /var/www/html/solveapi/google-drive/vendor/google/apiclient/src/Google/Client.php:859

erickoledadevrel commented 6 years ago

This error indicates that it can't find the credentials.json file, did you move it into the same directory as your PHP script?

mrgyf1 commented 6 years ago

@erickoledadevrel i have this problem too. I dont touch any files inside vendor

erickoledadevrel commented 6 years ago

In Step 1 the instructions include:

Did you do that?

mrgyf1 commented 6 years ago

@erickoledadevrel oh, sorry its my fault! Now i did it but become a new error... missing the required redirect URI. I trying to use it on my local machine with OpenServer

erickoledadevrel commented 6 years ago

I'm not sure where that error is coming from, as I don't see it in the source code. Did you download the credentials.json file from the button in the quickstart instructions?

erickoledadevrel commented 6 years ago

Closing due to inactivity.