Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

URGENT - Google Drive SDK JavaScript 404 Error on any method #136

Closed
wonderfly opened this issue Jan 7, 2015 · 37 comments
Closed

URGENT - Google Drive SDK JavaScript 404 Error on any method #136

wonderfly opened this issue Jan 7, 2015 · 37 comments

Comments

@wonderfly
Copy link
Contributor

From fernando...@gmail.com on April 08, 2014 00:39:05

We are getting since yesterday an error each time we try to execute any Drive Method from Javascript Library, such as:

gapi.client.drive.files.get({'fileId': RootFolderID});
gapi.client.drive.children.list({'folderId' : FolderGUID, 'q': 'trashed = ' + trashed});
Or any other.

When we execute this code code:

var RootFolderID = "0Bz9GhmOJPXaDMmlnc1UtNmFKb28";
var GetFileInfo = gapi.client.drive.files.get({'fileId': RootFolderID});
GetFileInfo.execute(function(GetFileInfoResp){
    log("RootFolderID", RootFolderID);
    log("GetFileInfoResp", GetFileInfoResp);
});

We get the following error

RootFolderID - 0Bz9GhmOJPXaDMmlnc1UtNmFKb28

GetFileInfoResp- Object {code: 404, message: "Not Found", data: Array[1], error: Object} code: 404
data: Array[1]
error: Object
message: "Not Found"
proto: Object

Two days ago the same code was working fine.

Anyone has the same problem? do you have any clue?

Original issue: http://code.google.com/p/google-api-javascript-client/issues/detail?id=136

@wonderfly
Copy link
Contributor Author

From laurentd...@gmail.com on April 08, 2014 00:41:36

I have just entered a similar issue https://code.google.com/p/google-api-javascript-client/issues/detail?id=137

@wonderfly
Copy link
Contributor Author

From laurentd...@gmail.com on April 08, 2014 00:45:06

For me, it stopped working around 30 minutes ago...

@wonderfly
Copy link
Contributor Author

From unkl...@gmail.com on April 08, 2014 02:48:46

similar issue but for cloud endpoint. Unable to call my cloud endpoint from my client using javascript although it was working 3hrs ago.

@wonderfly
Copy link
Contributor Author

From kingsley...@corso.co.uk on April 08, 2014 02:51:34

Come on fix this quick!

@wonderfly
Copy link
Contributor Author

From ldaw...@gmail.com on April 08, 2014 02:56:42

Bumping for priority
I need draw.io ATM, which I can't access right now...

@wonderfly
Copy link
Contributor Author

From sebastie...@jdc.fr on April 08, 2014 03:08:30

For priority please

@wonderfly
Copy link
Contributor Author

From eddie.bi...@bax-shop.nl on April 08, 2014 03:16:58

Move ZIG, for great justice!

@wonderfly
Copy link
Contributor Author

From daankint...@gmail.com on April 08, 2014 03:23:19

It seems all apps connected to google drive are experiencing this problem. Hopefully google fixes the problem asap.

@wonderfly
Copy link
Contributor Author

From j...@google.com on April 08, 2014 03:34:01

We're looking at it.

Status: Started
Labels: -Priority-Medium Priority-Critical

@wonderfly
Copy link
Contributor Author

From j...@google.com on April 08, 2014 03:35:09

Issue 137 has been merged into this issue.

@wonderfly
Copy link
Contributor Author

From scaryg...@gmail.com on April 08, 2014 03:47:29

From other reports this also affects Endpoints APIs and other APIs, so might be a general rpc issue.

Using gapi.client.request directly still works.

@wonderfly
Copy link
Contributor Author

From AsafA...@gmail.com on April 08, 2014 03:52:08

The file was not found. It does not exist or you do not have read access.

@wonderfly
Copy link
Contributor Author

From ryankell...@gmail.com on April 08, 2014 03:57:54

Same issue for Endpoints APIs

@wonderfly
Copy link
Contributor Author

From j...@google.com on April 08, 2014 04:22:01

We're working on a rollback. In the meantime--if you explicitly pass in an 'apiVersion' parameter to each request it should work.

@wonderfly
Copy link
Contributor Author

From go...@neuri.co.uk on April 08, 2014 04:27:28

what's the right apiVersion to pass in?

@wonderfly
Copy link
Contributor Author

From laurentd...@gmail.com on April 08, 2014 04:27:39

What kind of delay should we expect for the rollback?

Just want to check that it's worth modifying a lot of code in our app...

@wonderfly
Copy link
Contributor Author

From ryankell...@gmail.com on April 08, 2014 04:30:19

FYI gapi.client.load for Endpoints with the API version does load the client libs, but all methods fail with a 404 in the response object.

@wonderfly
Copy link
Contributor Author

From j...@google.com on April 08, 2014 04:30:53

@#15: whichever version you were passing into gapi.client.load. If you weren't passing in anything, then 'v1'.

@#16: it takes a couple hours for complete global rollout to complete. I'll try to post an ETA asap.

@wonderfly
Copy link
Contributor Author

From svanga...@gmail.com on April 08, 2014 04:34:07

Thanks for the update. Where would the the apiVersion go? I just tried adding it to the params of the following call with no success:

gapi.client.plus.people.get( {'apiVersion' : 'v1', 'userId' : 'me'} ).execute(function(profile) { .....

@wonderfly
Copy link
Contributor Author

From j...@verkkoaps.fi on April 08, 2014 04:36:16

I think you have to stab the object itself eg:
var request = gapi.client.plus.people.get({"userId":"me"});
request.B.apiVersion = "v1";
request.execute(...)

@wonderfly
Copy link
Contributor Author

From jorista...@gmail.com on April 08, 2014 04:45:06

Fyi, for calendar API, this should be v3:

var request = gapi.client.calendar.calendarList.list({
    'minAccessRole': "writer"
});
request.B.apiVersion = "v3";
request.execute(function (resp) { ... }

@wonderfly
Copy link
Contributor Author

From scaryg...@gmail.com on April 08, 2014 04:59:29

Just note that the B might change after rollback because of minification. So better check if it actually exists in the request object or your code might be broken after the rollback.

@wonderfly
Copy link
Contributor Author

From ad...@new-it-pro.com on April 08, 2014 05:15:57

Same problem!

@wonderfly
Copy link
Contributor Author

From jllort...@gmail.com on April 08, 2014 05:24:38

Same problem, please solve

@wonderfly
Copy link
Contributor Author

From dms...@gmail.com on April 08, 2014 05:35:36

Same problem.... T.T

@wonderfly
Copy link
Contributor Author

From da...@kickyourapp.com on April 08, 2014 05:52:16

Working again, thanks for fixing da shit ;)

@wonderfly
Copy link
Contributor Author

From azwarana...@gmail.com on April 08, 2014 05:55:31

I able to view some link that sometimes return


      "Error loading file"
     The file was not found. 

It does not exist or you do not have read access.
GOOGLE DRIVE ISSUES!

when open those link from my other Google docs.
hope it help to trace the bugs.

PS ::
I want give maximum number
limit of stars to this issue
but I believe that
it won't fix those matters.
He he he.
Thanks.

@wonderfly
Copy link
Contributor Author

From roaagh...@gmail.com on April 08, 2014 06:15:51

Same problem =(

@wonderfly
Copy link
Contributor Author

From fernando...@gmail.com on April 08, 2014 06:16:58

Hello,

It seems our application is working fine again, at least in some countries.

Thanks

@wonderfly
Copy link
Contributor Author

From Josh.Urb...@gmail.com on April 08, 2014 06:19:02

Still not working here in Ontario, Canada. Get same as above:

"Error loading file"
The file was not found.
It does not exist or you do not have read access.
GOOGLE DRIVE ISSUES!

@wonderfly
Copy link
Contributor Author

From laurentd...@gmail.com on April 08, 2014 06:19:17

Yes, it seems to work in US not in Europe so far...

@wonderfly
Copy link
Contributor Author

From j...@verkkoaps.fi on April 08, 2014 06:21:53

Europe/Finland is working for us.

@wonderfly
Copy link
Contributor Author

From da...@kickyourapp.com on April 08, 2014 07:01:41

Everything is fine in France now ^_^

@wonderfly
Copy link
Contributor Author

From j...@google.com on April 08, 2014 12:41:28

Status: Fixed

@wonderfly
Copy link
Contributor Author

From j...@google.com on April 08, 2014 19:47:01

Issue 138 has been merged into this issue.

@wonderfly
Copy link
Contributor Author

From e.pt...@gmail.com on April 09, 2014 03:05:53

What code change caused this issue in the first place? In my caste the Analytics client was affected.

Should I really need to diff and test the client library and serving a local version to my users? I thought Google was testing before deploying.

Any official statement from Google on this matter?

@wonderfly
Copy link
Contributor Author

From nurhusie...@gmail.com on June 21, 2014 08:16:48

find public google-ap-javascript-cilnt serves

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant