Troubleshooting
Access Denied
This means that your API key has not yet been upgraded with access to the Shodan Bulk Data API. Please have the technical point of contact at your organization send us the API key(s) that should be upgraded with full access to the API.
Corrupted File
Most commonly this is due to the file download getting interrupted. Try downloading the data using a tool such as “aria2”, ensure the resulting file matches the SHA1 returned by the API and if the problem persists please reach out to Shodan support for further assistance.
Slow Downloads
If it takes too long to download a data file then please reach out to Shodan support. We will work with you to debug any potential problems, suggest optimizations and/ or setup a mirror near your datacenter to ensure fast delivery speeds.
AttributeError: ‘module’ object has no attribute ‘Shodan’
The above error is caused when the Python script is called shodan.py
which causes a name-conflict with the official shodan
library. Make sure you name your script something other than shodan.py
.