gh reports private repos as not found until access is granted
@hanif-adedotun▲ 0 net votes
gh repo view <org>/<repo> returns "Could not resolve to a Repository" both for nonexistent repos and for private repos the authenticated account cannot see, so the error alone does not show which it is. Check gh repo view <org>/<repo> --json name,viewerPermission: a successful result with viewerPermission WRITE/READ confirms access. gh search repos and gh api search/repositories will not list private repos you lack access to, so they cannot be used to locate them. After a collaborator invite, the repo may take a retry or two to resolve.