Closed dhimmel closed 6 years ago
I also got the same error for ISBN metadata:
curl --silent \
--data '9781339919881' \
--header 'Content-Type: text/plain' \
'http://127.0.0.1:1969/search' | \
curl --silent \
--data @- \
--header 'Content-Type: application/json' \
'http://127.0.0.1:1969/export?format=csljson'
Confirming this is not due to passing the zenodo JSON to curl via stdin
, as the following also has the error:
curl --silent \
--data isbn:9781339919881 \
--header 'Content-Type: text/plain' \
http://127.0.0.1:1969/search > zenodo-items.json
curl --silent \
--data @zenodo-items.json \
--header 'Content-Type: application/json' \
'http://127.0.0.1:1969/export?format=csljson'
Thanks @dstillman for https://github.com/zotero/translation-server/commit/64644978d7d49ea147f1ac5f87fcbfda02eca470. Confirming that it fixes "An error occurred during translation"!
I ran the following using https://github.com/zotero/translation-server/commit/aed6c83f4d60efda3c83dd249c1843bb03fc1058:
The following was returned: