I want to run the example 'Export to Drive ' 
<https://github.com/google/earthengine-api/tree/master/demos/export-to-drive> 
in my project. But it has this error:

       INFO     2018-12-26 01:07:05,396 discovery.py:871] URL being 
requested: GET 
https://www.googleapis.com/drive/v3/files?q=title+contains+%221545786404MYOFJP%22&alt=json
       WARNING  2018-12-26 01:07:05,398 urlfetch_stub.py:575] Stripped 
prohibited headers from URLFetch request: ['content-length']
       INFO     2018-12-26 01:07:05,520 server.py:155] Sent to client: 
{"error": "Failed to give file to user: <HttpError 400 when requesting 
https://www.googleapis.com/drive/v3/files?q=title+contains+%221545786404MYOFJP%22&alt=json
 
returned \"Invalid Value\">"}
       INFO     2018-12-26 01:07:05,548 module.py:861] default: "GET / 
HTTP/1.1" 200 1020
       INFO     2018-12-26 01:07:05,877 module.py:861] default: "GET 
/jqueryui/style.css HTTP/1.1" 404 154
       INFO     2018-12-26 01:07:06,119 module.py:861] default: "GET 
/static/jquery.min.js HTTP/1.1" 304 -
       INFO     2018-12-26 01:07:06,125 module.py:861] default: "GET 
/static/script.js HTTP/1.1" 200 3614
       INFO     2018-12-26 01:07:06,129 module.py:861] default: "GET 
/static/ee_api_js.js HTTP/1.1" 304 -
       INFO     2018-12-26 01:07:09,430 module.py:861] default: "GET 
/favicon.ico HTTP/1.1" 404 154

I have replaced the function 
'oauth2client.client.SignedJwtAssertionCredentials' by 
'oauth2client.service_account.ServiceAccountCredentials.from_json_keyfile_name'.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/a8a6e8bc-301a-49a3-8cf5-d040bfebdea5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to