VirusTotal / vt-py

The official Python 3 client library for VirusTotal
https://virustotal.github.io/vt-py/
Apache License 2.0
531 stars 121 forks source link

Fix vt-feed `NotAvailableYet` error code #198

Closed nazywam closed 2 weeks ago

nazywam commented 3 weeks ago

As far as I can tell, VT introduced a compatibility breaking bug and changed the error code from NotAvailableYet to NotAvailableYetError.

This is not reflected in the documentation and breaks all scripts making use of VirusTotal feed products.

Example API response containing the new error:

{'error': {'code': 'NotAvailableYetError', 'message': 'Package 202408231413 is not available until 2024-08-23 at 15:13 UTC because of privacy policy.'}}
google-cla[bot] commented 3 weeks ago

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

mgmacias95 commented 2 weeks ago

Hello @nazywam,

Thank you for your contribution. The change was made by mistake and has already been reverted.

Sorry for the inconvenience.

Regards, Marta