Using Releases API create results in error: did not find expected alphabetic or numeric character while scanning an anchor at line 12 column 55}

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Trying to create a release using GitLab Releases API but get the following error message: did not find expected alphabetic or numeric character while scanning an anchor at line 12 column 55}

Getting the same error message with releases-cli, glab and python-gitlab.

The tag 0.1.0 exists in the project.

After some further investigation it seems as if this is related to us running a create release for a GitLab CI/CD Component where reference is not default branch (main) but a tag or a branch.

If this limitation is there then error message should be more informative. But, the question is why this limitation is here at all.

We have tests for all our components and our idea was to reuse a tag such as 0.0.0 for our all tests. These pipeline must of course pass even for MRs, so that we know that everything works before merging to main.

Edited by 🤖 GitLab Bot 🤖