Invalid Repository URL
invalid-repo-url · 400
The repository URL isn't a GitHub repository URL, so the API couldn't read its branches or its settings.
All pages
repoUrl echoes the value that was refused. GitHub is the only source Ghaym Cloud builds from.
Besides the members every error carries, this type adds repoUrl.
- The URL points at another host: GitLab, Bitbucket, or a Git server of your own.
- The value is a bare
owner/reporather than a URL. - The URL links to a file or a branch inside the repository rather than to the repository itself.
- Send
https://github.com/<owner>/<repo>, with nothing after the name except an optional.git. - Read
repoUrlto see exactly what arrived: a shell can mangle a URL on the way. - If the code isn't on GitHub, say so rather than trying another format.
json
{
"type": "invalid-repo-url",
"title": "Invalid Repository URL",
"detail": "Only GitHub repository URLs are supported (e.g. https://github.com/owner/repo).",
"repoUrl": "https://gitlab.com/acme/storefront",
"requestId": "req-1785231000000-4f7b2c9ae",
"timestamp": "2026-07-28T09:30:00.000Z",
"path": "/v1/git/branches",
"method": "GET",
"instance": "GET /v1/git/branches",
"status": 400,
"docs": "https://ghaym.me/docs/errors/invalid-repo-url"
}