Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.

Talend Studio

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now

Who Me Too'd this topic

MattE
Creator II
Creator II

tGoogleDriveGet 404 Not Found

I've set up a tGoogleDriveConnection with the OAuth Method and that works as far as i can tell. However, tGoogleDriveGet returns a 404 error when trying to get a file by Id which i know exists. Also tGoogleDriveList returns nothing and no error.

The service account have access to the drive in question.

Any ideas?

Studio 7.3.1-R2022-06

Exception in component tGoogleDriveGet_1 (google_docs)

com.google.api.client.googleapis.json.GoogleJsonResponseException: 404 Not Found

GET https://www.googleapis.com/drive/v3/files/1v0b2tF5Vhq78ox2dh1XMq4GQiMpx8P5rWzw6ztdSsJI?fields=id,mim...

{

 "code" : 404,

 "errors" : [ {

  "domain" : "global",

  "location" : "fileId",

  "locationType" : "parameter",

  "message" : "File not found: 1v0b2tF5Vhq78ox2dh1XMq4GQiMpx8P5rWzw6ztdSsJI.",

  "reason" : "notFound"

 } ],

 "message" : "File not found: 1v0b2tF5Vhq78ox2dh1XMq4GQiMpx8P5rWzw6ztdSsJI."

}

at com.google.api.client.googleapis.json.GoogleJsonResponseException.from(GoogleJsonResponseException.java:146)

at com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest.newExceptionOnError(AbstractGoogleJsonClientRequest.java:118)

at com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest.newExceptionOnError(AbstractGoogleJsonClientRequest.java:37)

at com.google.api.client.googleapis.services.AbstractGoogleClientRequest$1.interceptResponse(AbstractGoogleClientRequest.java:428)

at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:1108)

at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:514)

at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:455)

at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.execute(AbstractGoogleClientRequest.java:565)

at org.talend.components.google.drive.runtime.GoogleDriveUtils.getMetadata(GoogleDriveUtils.java:122)

at org.talend.components.google.drive.runtime.GoogleDriveUtils.getResource(GoogleDriveUtils.java:456)

at org.talend.components.google.drive.runtime.GoogleDriveGetReader.start(GoogleDriveGetReader.java:72)

at org.talend.codegen.flowvariables.runtime.FlowVariablesReader.start(FlowVariablesReader.java:73)

at unidays_main_project.google_docs_0_1.google_docs.tGoogleDriveGet_1Process(google_docs.java:1730)

at unidays_main_project.google_docs_0_1.google_docs.tGoogleDriveConnection_1Process(google_docs.java:1156)

at unidays_main_project.google_docs_0_1.google_docs.runJobInTOS(google_docs.java:3145)

at unidays_main_project.google_docs_0_1.google_docs.main(google_docs.java:2419)

[FATAL]: unidays_main_project.google_docs_0_1.google_docs - tGoogleDriveGet_1 404 Not Found

Labels (2)
Who Me Too'd this topic