Yaml changes version string to integer/float -> deposit error #281
Labels
1️ harvesting
The harvesting step in the workflow
4️ prepare/deposit
The preparation/deposition step in the workflow
bug
Something isn't working
Hackathon24
Issues that should be fixed in or until the Hackathon 24 (December)
At the HZDR Day we had a bug doing the deposit step. In the Cff the Version is given as an integer/float (from cff init). However in the deposit step the error occurs that
{"status": 400, "message": "A validation error occurred.", "errors": [{"field": "metadata.version", "messages": ["Not a valid string."]}]}
.It was solvable by putting the version in quotation marks.
Is that maybe changed in the newer cff version?
Should we make a workaround by changing the type in the harvest step?
The text was updated successfully, but these errors were encountered: