-
Notifications
You must be signed in to change notification settings - Fork 229
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
Request_Denied when clicking on location #461
Comments
this might occur when the MAP API or Location API reached the cota limit. You have to add your own MAPs API key |
how do i do that? |
Having the same issue. |
Can be solved by using your own Maps API key, although this requires to setup a Google Cloud Platform project. |
Matty, can you dumb it down. I downloaded the nodejs but then what? |
For obtaining the api key, please follow this https://developers.google.com/maps/documentation/javascript/get-api-key . You will be asked to create or link a billing account though, which requires you enter your credit card information. But if you'll be using this only for the webspoof app, no excessive use, you won't be billed anything. (To be sure you can setup a budget of $0 to be notified in case of any charge) For the next steps, open terminal.app on your mac, check you have NodeJS installed (eg. by running Is that understandable, or are you having trouble with any specific step/s? |
Hi, unfortunately Request denied even after replacing with own key. Any suggestions? |
Did you build the app after saving the changes and run the new version? Also, make sure you have Maps JavaScript or Embed API key with unrestricted use (you can check here https://console.cloud.google.com/google/maps-apis/overview - open the desired api detail from 'Enabled APIs' and then look to 'Credentials' section) |
For some reason the api key was not activated. Resolved this, now it works. Thanks a lot Matty! |
Thanks a lot Matty for your Help. |
Direction API has also be activated, after that it works fine. Thanks |
You're right, Directions API is quite essential for the autopilot feature. Thanks for pointing that out 👍 |
I get error messages after these steps: macbook-air:~ User$ CD pokemongo-webspoof if i understand the errormessage right its because the package.json file cant be found, but when i look in the pokemongo-webspoof folder its inside. so i copied the file in the root directory (user).. after this the installation "worked" but still with warnings.. After this i searched for the pokemongo-webspoof-darwin-x64, but i cant find it. isnt it possible to change the API Key in an existing Pokemon Webspoof APP? There should be an api.js file too.. sorry for this nooby questions but im new in MAC.. |
@megusta63 these |
i'm getting npm command not found. Sorry, i'm bad at codings and commands |
@maxpac have you installed NodeJS? You can try using absolute path to the command, which should be |
sorry, forgot i had to install node.js. so i have followed all the steps, ensured my api has no restrictions but i'm still getting Request Denied, I've also ensured both Map Javascript API and Directions API are enabled. |
@MattyTesar worked! thanks, i run from the root directory first because of this it doesnt worked |
@megusta63 Thanks for bringing this up. No wonder i couldn't get through. However, after "cd pokemongo-webspoof and npm install", i'm getting ACTION Regenerating Makefile. What's this? |
@maxpac can you try removing node_modules folder and package.lock file and running |
@MattyTesar ok i'm able to to pass npm install. The problem right now is npm run build. I'm getting this error Failed at the [email protected] build script. Any idea? The first error code line was ELIFECYCLE |
IT FINALLY WORKED! Had to run npm run build first, change the API key in api.js, run npm run build again. Not sure why an additional steps but it works at least. Thanks again everyone! Especially @MattyTesar |
Check Readme section Known issues |
Cause one of the troubleshooting was to delete the app and reinstall it. So does that mean i have do npm run build after deleting again? |
That shouldn't be necessary, unless you build the app with a different version number. You just need to add your build of pokemongo-webspoof.app to the accessibility apps in System Preferences > Security & Privacy > Privacy tab > Accessibility and check the checkbox next to it.
|
Hi there, |
You mean without the need to setup billing account? Because even with it, it's basically free of cost, unless you're planning on making more than about 1300 directions requests (autopilot target updates) per day. |
I enabled Maps API and now maps load without the watermark but I am still getting the "request denied" Well, it was loading fine. Now its back to the "development purposes only" now i'm getting over_query_limit |
or what about a way that would let us update the API without as many steps. I think i've almost got this time, but I don't follow what to do if i have to reinstall web spoof. I'd even donate a few bucks to someone who made it easier. |
Any chance to switch to openstreetmap or something else? @iam4x |
@MattyTesar seems that rebuilding did the trick for me. Anyway, what counts as 1 direction request? Say for instance if i walk from 1 place to another, maybe 10km, how many direction requests will that be? |
Well, it was working fine for just one day. Now I've got also "over_query_limit" and watermark back again. Got a new key, rebuild, same thing. I'm a bit lost now... |
Alright, so what APPEARS to have worked is that my billing account on google was not associated with a project/API. If you go into your API and look for quota, it will show you where you are hitting over the limit and if you just kinda follow how to increase the limit, then you will see. Doesn't appear as if running webspoof does very many requests. |
nothing is happening when I do the last step in terminal "npm run build" Edit: nevermind, I just had to be patient and wait for it to finish. Everything works fine so far! Thank you so much @MattyTesar :) |
And how can you fix this if you don't have . credit card? Are the MAp API's connected to your own computer? So a fresh re-install could also do the trick? |
Been having this issue for awhile and been just running routes with gpx files to work around this. But would be nice to be able to move across the map easier without tapping arrow keys or creating an entire gpx file each time. Anywho, I'm a total noob at this and people on here have been super helpful. @MattyTesar I'm trying your fix and I got to the point of > For the next steps, open terminal.app on your mac, check you have NodeJS installed (eg. by running
Do I type exactly 'path_to_folder' or do I need to manually enter an actual folder name. I copied what you had exactly and no such folder or directory was found. And how do I find the folder I wanna use. This step I'm totally lost. Any help or explanation would be appreciated. Thanks! |
Hi,
Facing this issue when I'm not able to click on a location to spoof (see photo)
Anyone facing the same issue?
The text was updated successfully, but these errors were encountered: