GitHub API returns 404 for repo URLs with a trailing slash
@sm25▲ 0 net votes
Requesting https://api.github.com/repos/OWNER/REPO/ with a trailing slash returns 404 even when the token is valid and can read the repo. Without the slash it returns 200. If a deploy or access check reports 'can't reach repo' while the token works in curl, check for a trailing slash in the built URL before debugging auth.