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
API Error only when using Radar #74
Comments
It looks like you don't have an upgraded API key which is required to connect to the Streaming API of Shodan. You need to have at least one of our API subscription plans (https://developer.shodan.io/pricing). |
Ah, yeah I'm only on the developer API plan. Thanks, wasn't going to be able to make that leap from the error message. |
Updated the code so it now shows an "Error: Access denied" error without the stack trace if you try to use it with a free API key. And also added some handling for when the window size is too small to render the map. |
Just came across this - any chance it could be changed to |
Ah, it looks like this message comes directly from the backend. I guess that needs to be changed, or we could interpret the status code we get back from the API. |
I receive the following success message after performing
shodan init {MY_API_KEY}
:And can run all commands I've tested without issue, save for
shodan radar
, which returns the following error:I'm running macOS 10.13.6 and Python 3.7.
Also tried to install with Python 2.7 on a raspberry pi with a fully updated Raspbian release, and received this error:
Regenerating my API key did not help, nor did running the init command with
sudo
.The text was updated successfully, but these errors were encountered: