Resolving an issue in python program

Job ID: 35337874

Budget: $10 – $30 USD

Hi, I have a python program that request VirusTotal over REST API.
The issue is that the program looking for certain values in REST API response but sometimes VirusTotal doesn't include the values the program looking for and given an error (error1.png) including the code in (IPReportTab.py line 86) and for full application password will be share after the agreement.

Requirements to resolve the issue:
The fields in program should be Zero until if the values the program is looking for not included in API response

python used=3.7
other requirements included in file
Related categories: Python Software Architecture RESTful API