Skip to content
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

Closed
flcdrg opened this issue May 27, 2021 · 5 comments
Closed

scan file is returning "Expecting JSON response from POST" #33

flcdrg opened this issue May 27, 2021 · 5 comments

Comments

@flcdrg
Copy link
Contributor

flcdrg commented May 27, 2021

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:

C:\Users\david\Downloads\JetBrains.dotUltimate.2021.1.3.exe uploading... 99.1%

C:\Users\david\Downloads\JetBrains.dotUltimate.2021.1.3.exe scanning...

Expecting JSON response from POST https://www.virustotal.com/_ah/upload/really-long-url/

I assume the upload failed because when I search for the sha256 on the website, it doesn't find anything.

@plusvic
Copy link
Member

plusvic commented May 27, 2021

Is the problem persistent? I mean, if you try again with the same file it keeps occurring? What's the size of the file?

@flcdrg
Copy link
Contributor Author

flcdrg commented May 27, 2021 via email

@plusvic
Copy link
Member

plusvic commented May 28, 2021

I think that's the problem, VirusTotal can accept files around 650MB, but anything larger will fail.

@flcdrg
Copy link
Contributor Author

flcdrg commented May 28, 2021

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.

@plusvic
Copy link
Member

plusvic commented May 28, 2021

Fixed in version 0.9.7. This version returns an error message when the file is larger than 650MB.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants