dune-release
dune-release copied to clipboard
Could not retrieve release ID from response, unexpected Github API error: "Validation Failed"
With dune-release 1.4.0, I kept getting:
dune-release: [ERROR] Could not retrieve release ID from response, unexpected Github API error: "Validation Failed"
opam pin add dune-release --dev fixed it for me.
It might be an error with the token parsing code that we've been running into and that I recently fixed.
I'm wrapping up some bug fixes but we should cut a release soon.
If you happen to have some time and the setup to do so, can you try moving your token file (usually under ~/.config/dune/github.token) so dune-release prompts you for it again? This has fixed similar issues for other users and I suspect that's what's going on here.
I tried deleting the token file and letting dune-release recreate it with 1.4.0, and it didn't help. It failed with both the old and new GitHub token formats. But using dune-release.dev worked (only tested with the new format).
Just noticed the same. Worked after opam pin.
(Also, I had to add a ssh key since the rewriting to https mentioned here did not help.)