pokemongo-webspoof
pokemongo-webspoof copied to clipboard
OVER_QUEY_LIMIT Issue
Hello,
Thank you for this app, its been working great until today when I tried to run a location search and I've been receiving the error OVER_QUEY_LIMIT. Any ideas how I can resolve this issue.
Thanks
Have the same issue
Same issue
Same issue
Same issue, likely we'll have to go change some google keys manually
Yep, solve this by adding your own API key from https://developers.google.com/maps/documentation/javascript/get-api-key
It's using google-map-react, see here to add your API key.
The <GoogleMap> component is in src/views/map/index.js, so you can add your key there.
Thanks! Why did it all crap out at once I wonder?
Google lets you only call their API so many times
I actually didn't use the recommended bootstrapURLKeys, I used the deprecated apiKey, like this
<GoogleMap
ref={ (ref) => { this.map = ref } }
zoom={ settings.zoom.get() }
center={ [ latitude, longitude ] }
onClick={ this.handleClick }
options={ () => this.mapOptions }
onGoogleApiLoaded={ this.handleGoogleMapLoaded }
yesIWantToUseGoogleMapApiInternals={ true }
apiKey={ MapsApi.apiKey }>
Where MapsApi.apiKey is in a configuration file I added, but you can just put in a string like
apiKey={ 'YOUR_API_KEY_HERE' }
I'll submit a PR with my changes in a bit.
I just tried jerme404's solution; mine now looks like this:
<GoogleMap
ref={ (ref) => { this.map = ref } }
zoom={ settings.zoom.get() }
center={ [ latitude, longitude ] }
onClick={ this.handleClick }
options={ () => this.mapOptions }
onGoogleApiLoaded={ this.handleGoogleMapLoaded }
yesIWantToUseGoogleMapApiInternals={ true }
apiKey={ 'MY_API_KEY' }>
And still no work. Sad face. Any suggestions? I have a 7-year-old champing at the bit to catch some pocket monsters.
Did you put an actual API key in there?
I'm having the same issue. My code currently looks the same as yours, with apiKey={ 'YOUR_API_KEY_HERE' }
YOUR_API_KEY_HERE has been replaced with an api key generated by 'google maps apis' website. Still not working unfortunately.
Still the same error OVER_QUEY_LIMIT after rebuilding?
Yes
should I upload my index file for review?
Yes, I definitely pasted in the API key I got from Google in place of MY_API_KEY
Is there a step I'm missing? I edited the file, made the above changes, saved the file, and re-opened the spoof app.
I also followed the instructions for adding a new API and it did not fix it.
I would also be happy to upload or email my index.js file, or use your recommended steps of creating another config file; I'm not 100% sure how to do the latter.
Here's a copy of my non-functioning file index.js.zip
Same issue.
Does anybody know if using gitter to collaborate right now to get things working by tonight.
https://gitter.im/pokemongo-webspoof/Lobby#
You have to actually rebuild the project, it won't work by just editing the index.js file.
Pardon my ignorance, is that the same as restarting the program, or is there a rebuild process we should be doing. And thank you very much for your help on this.
If you navigate to the project in a terminal window, just type npm run build to build a new version. That will create a new folder (if it's not there already) called 'pokemongo-webspoof-darwin-x64' and your new build will be in there.
Yep, that doesn't so much work for me either. Here's a screenshot from Terminal:
https://ibb.co/i8O1jF
Sorry to be such a pain...
Simply open "GoogleMap.spec.js", find
const API_KEY = 'API_KEY';
and replace 'API_KEY' with yours like this:
const API_KEY = 'AI.........';
Im getting the following error while building. Any ideas?
Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
- configuration.output.path: The provided value "./dist" is not an absolute path!
In webpack.config.babel, change the output path like this
output: {
path: path.resolve(__dirname, 'dist'),
filename: 'index.js',
chunkFilename: '[name].js'
},
then add require path up top like
const path = require('path');
There's a PR with my changes.
https://github.com/iam4x/pokemongo-webspoof/pull/436
Is there a simplified fix for this yet for those of us who apparently aren't quite as tech-savvy? I've tried following the various tips in this thread but I'm getting no results, and can't even find some of the files referenced, like GoogleMap.spec.js
jerme404, thanks for the help. I got it working.
ascenser if you need help, I can compile the app for you.
I can't find the file where I have to put my generated key in. Programming is not my strength :-(
Is there anybody who could help me adding the key and rebuild the project?
Thanks in advance!