Failed deposit on attempting to recreate a new version of an existing record likely due to pre-existing version draft for that existing record.
Elton, Nomer, & Preston. (2025). Versioned Archive and Review of Biotic Interactions and Taxon Names Found within globalbioticinteractions/klecka2018 hash://md5/97e2fa5e093f26479c51c56f47643038. Zenodo. https://doi.org/10.5281/zenodo.16416743
Suggest to find existing draft first and remove all files, before attempting to create a new version draft altogether.
[main] INFO bio.guoda.preston.zenodo.ZenodoUtils - POST https://zenodo.org/api/deposit/depositions/16416743/actions/newversion HTTP/1.1
[main] INFO bio.guoda.preston.zenodo.ZenodoUtils - zenodo endpoint: [https://zenodo.org]
[main] INFO bio.guoda.preston.zenodo.ZenodoUtils - zenodo token : [******]
[main] WARN bio.guoda.preston.zenodo.ZenodoMetadataFileStreamHandler - unexpected error while handling [line:hash://sha256/3f3d5663476d523198a52c21c9395de740b1c3b49ebe41890789e44c221a4ae5!/L1]
org.apache.http.client.HttpResponseException: status code: 400, reason phrase: [<https://zenodo.org/api/deposit/depositions/16416743/actions/newversion>] with reason [BAD REQUEST] and possible error message [{"status": 400, "message": "A validation error occurred.", "errors": [{"field": "files.enabled", "messages": ["Please remove all files first."]}]}]
at bio.guoda.preston.ResourcesHTTP.asInputStream(ResourcesHTTP.java:166)
Failed deposit on attempting to recreate a new version of an existing record likely due to pre-existing version draft for that existing record.
Suggest to find existing draft first and remove all files, before attempting to create a new version draft altogether.