-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
scan file is returning "Expecting JSON response from POST" #33
Comments
Is the problem persistent? I mean, if you try again with the same file it keeps occurring? What's the size of the file? |
I tried this on three different machines, two of which were cloud VMs.
The file is around 1GB, so on the larger side
Get Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
From: Victor M. Alvarez ***@***.***>
Sent: Thursday, May 27, 2021 4:58:19 PM
To: VirusTotal/vt-cli ***@***.***>
Cc: David Gardiner ***@***.***>; Author ***@***.***>
Subject: Re: [VirusTotal/vt-cli] scan file is returning "Expecting JSON response from POST" (#33)
Is the problem persistent? I mean, if you try again with the same file it keeps occurring? What's the size of the file?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#33 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAC55242DBKKWQ6H2CMXLQDTPXYBHANCNFSM45TFPSKA>.
|
I think that's the problem, VirusTotal can accept files around 650MB, but anything larger will fail. |
So there's no way to submit >650MB files to VirusTotal? It would be good to get that size limit documented - the v3 API docs don't mention one at all (though I believe the v2 ones did). It would also be good to get a nicer error message in this case from the CLI too. |
Fixed in version 0.9.7. This version returns an error message when the file is larger than 650MB. |
I'm trying to upload a file using
vt scan file "C:\Users\david\Downloads\JetBrains.dotUltimate.2021.1.3.exe" -k xxxxxxx
.The file uploads and then I get the following:
I assume the upload failed because when I search for the sha256 on the website, it doesn't find anything.
The text was updated successfully, but these errors were encountered: