GitHub Plugin API error 301

I’ve been seeing a number of errors in the log reporting a 301 error with the GitHub API.

Discourse::GithubApi::Error: GitHub API error (status 301)

I’m not able to set a new github_linkback_access_token due to the 301 errors and can not save the access token in case this is transient. Any attempts to save that value reports said error.

thanks for the report @DanEss :+1:

will be fixed by these prs

:left_arrow_curving_right: FIX: Follow GitHub API redirects for renamed and transferred repos by ZogStriP · Pull Request #44488 · discourse/discourse · GitHub
:label: UX: Allow `code` tags in admin notice messages by ZogStriP · Pull Request #44489 · discourse/discourse · GitHub
:abacus: FIX: Only count commits from configured repos for GitHub badges by ZogStriP · Pull Request #44490 · discourse/discourse · GitHub
:stethoscope: FEATURE: Report GitHub token and repo problems on the admin dashboard by ZogStriP · Pull Request #44491 · discourse/discourse · GitHub

Perfect!

I removed the repos and added back one-by-one and it was a transferred repo that caused the redirect error. You caught it before I could make it back to update the ticket!