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

KeyError: 'data' #4

Open
Chuldun opened this issue May 8, 2024 · 1 comment
Open

KeyError: 'data' #4

Chuldun opened this issue May 8, 2024 · 1 comment

Comments

@Chuldun
Copy link

Chuldun commented May 8, 2024

Please help me resolve the following error. I followed the tutorial and had no problems with the installation. I tried to enter an IP list from a txt file and got the error below. Please help me fix it as I am a beginner in Python coding.

Traceback (most recent call last):
  File "/home/haha/python-vt/vt-ip-url-analysis.py", line 459, in <module>
    urlReportIPLst(args.ip_list)
  File "/home/haha/python-vt/vt-ip-url-analysis.py", line 322, in urlReportIPLst
    urlReport(i)
  File "/home/haha/python-vt/vt-ip-url-analysis.py", line 104, in urlReport
    epoch_time = (decodedResponse["data"]["attributes"]["last_analysis_date"])
KeyError: 'data'
@koreytm
Copy link

koreytm commented Nov 5, 2024

I'm also getting this error, in case anyone can assist.

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

2 participants