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

gapi.load produces 404 error #2

Open
juneyoung opened this issue Jun 5, 2018 · 6 comments
Open

gapi.load produces 404 error #2

juneyoung opened this issue Jun 5, 2018 · 6 comments

Comments

@juneyoung
Copy link

Hi. I am trying to use gapi-client in react project and when I call gapi.load, It returns 404 error.
And it seems does not matter with parameter, would you check it out?

For detail situation, refer stackoverflow question.. Thanks

@am17torres
Copy link

@juneyoung were you able to resolve this issue?
It would be nice if there was an unminified source to look through so we could try and help debug this.

@ericuldall
Copy link

ericuldall commented Jul 5, 2019

I'm getting this issue as well. Is there any fix for this, or is this library unusable? Currently trying to run the code in a chrome extension.

@kevinschaich
Copy link
Owner

Hey all, echoing from another issue (#3):

This package is merely a wrapper around Google's minified JS client library. You are welcome to run a diff yourself to confirm. The unminified version can also be found here:

https://github.com/google/google-api-javascript-client

Perhaps a better solution would be to automate this process (yarn/npm script to pull from Google's site, minify, and release an exported version).

I don't have time at the moment to debug/test a solution but welcome contributions. In the absence of a contribution, you are free to use the library as-is or use another package. Thanks!

@eaguadmeat
Copy link

eaguadmeat commented Sep 3, 2019

Same error here, specific error. No idea what's going on.

GET https://apis.google.com/_/scs/apps-static/_/js/k=oz.gapi.en.WcpMzqgmJZU.O/m=auth2,client/rt=j/sv=1/d=1/ed=1/am=AQ/rs=AGLTcCNsTS1p4dx0iMhlrwEpiaXw4iMjOg/cb=gapi.loaded_0 net::ERR_ABORTED 404

@ocundale
Copy link

Also having this issue, does it actually work for anyone else?

@marclorrain
Copy link

I have fixed it by copy and pasting the script from https://apis.google.com/js/api.js into index.js pretty easy and quick fix!

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

No branches or pull requests

7 participants