academictorrents / academictorrents-docs

https://academictorrents.com/docs
16 stars 3 forks source link

Processing Error 400 when trying to upload a torrent #13

Closed sergiuoprea closed 5 years ago

sergiuoprea commented 5 years ago

Hi there,

I am trying to upload a torrent created with transmission client. I am getting the following error during the process: Error (400, Processing Error): {"msg","Missing form data: descr"}

All the form fields were filled and the torrent was successfully validated. What I am doing wrong? I don't know if this is a problem related to a field from the uploading form.

Thanks in advance for the support.

ieee8023 commented 5 years ago

What web browser are you using?

sergiuoprea commented 5 years ago

Google Chrome. I've just tried with Microsoft Edge web browser and same error.

ieee8023 commented 5 years ago

I think I found the bug. When the bibtex entry was in a unparsable state it would prevent you from editing it. This was compounded by the bibtex being an empty string so it would cause an error on the server. I added more defensive code. See how it works now.