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.