BigW Consortium Gitlab
In API v4 when requesting a branch with an invalid refname shows an helpful error message: 'The branch refname is invalid'.