dune-release icon indicating copy to clipboard operation
dune-release copied to clipboard

Could not retrieve release ID from response, unexpected Github API error: "Validation Failed"

Open talex5 opened this issue 4 years ago • 3 comments

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.

talex5 avatar May 21 '21 14:05 talex5

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.

NathanReb avatar May 21 '21 14:05 NathanReb

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).

talex5 avatar May 21 '21 15:05 talex5

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.)

vogler avatar Jun 30 '21 21:06 vogler