Error "The Content-MD5 you specified did not match what we received" when uploading text files

89 views
Skip to first unread message

Christian Boulanger

unread,
Apr 11, 2021, 3:36:21 AM4/11/21
to zotero-dev

Using the excellent https://github.com/tnajdek/zotero-api-client client library, I am experiencing a weird behavior that when I try to upload a text-only attachment. I invariably get the  error message "The Content-MD5 you specified did not match what we received" (for details, see https://gist.github.com/cboulanger/cf4d31f038303897136b0730454e60c3). The upload works flawlessly with PDF attachments. I have seen reports on this error occurring sporadically with the AWS service, so I suspect it might be related to the Amazon storage backend rather than with the library or my code, but that's just speculation.

Has anyone else experienced this behavior?

Reply all
Reply to author
Forward
0 new messages