-
Notifications
You must be signed in to change notification settings - Fork 1.1k

Description
These 3 errors are preventing me from using the Google Drive API. You think this would have been tested? I am using the default Picker example code. Nothing changed but my client_id and my developer Key.
1) .split is not a function.
- In firefox and chrome (did not check in IE or others), the resulting authentication throws a .split is not a function.
- This happens randomly
- Stack from chrome:
3723580519-idpiframe.js:26 Uncaught TypeError: (b || "").split is not a function
at Xa (3723580519-idpiframe.js:26)
at 3723580519-idpiframe.js:61
at 3723580519-idpiframe.js:55
at eb.h.getItem (3723580519-idpiframe.js:35)
at Ib.Q.o (3723580519-idpiframe.js:55)
at Ib.o (3723580519-idpiframe.js:61)
at Sb (3723580519-idpiframe.js:68)
at W.h.kb (3723580519-idpiframe.js:76)
at Object.A (3723580519-idpiframe.js:83)
at Jb.Cb (3723580519-idpiframe.js:63)
2) API Developer Key is not valid (this is a repeat, I seen it posted many times)
The very first time I authenticate, the authentication works. But the next window displays "API Developer Key is not valid"
As mentioned here I removed the .setDeveloperKey(developerKey) and it then it random throws the ".split is not a function" error from above, or the popup_closed_by_user
3) If I do not get the "split is not a function error" I receive an error that the popup_closed_by_user
- This is with or without the .setDeveloperKey(developerKey)
- This is random. Sometimes it is the split, some times it is the popup_closed
The current state of the Picker is not usable.
Please advise.