Closed stephan-koenig closed 11 months ago
@e-alizadeh, I don't think the PR fully resolved the issue. Both using a GitHub Action workflow and a local install of your library (v4.2) still fails for me, but now error_log_400_failed_post_request_to_readwise.json
indicates only for a single item:
{"author": ["Ensure this field has no more than 1024 characters."]}
Hi!
Thank you for your library!
Description of error
I have tried to import my Zotero annotations to Readwise but get the following error (both as a GitHub Actions Workflow and on my local machine):
The
error_log_400_failed_post_request_to_readwise.json
indicates for 29 items:Proposed solution
After concatenating all creators while importing a Zotero item, would it be possible to check if the string exceeds 1024 characters, and if it does, replace it with
<last name of first author> et al.
? Considering how prevalent a large number of authors is nowadays in some fields, I imagine many people will encounter that problem.Probably relates to https://github.com/e-alizadeh/Zotero2Readwise/issues/43 and https://github.com/e-alizadeh/Zotero2Readwise/issues/27.