[Bug]: new project page shows "API Error An internal server error occurred."
Problem description
Logged in using personal github account(just this one). Shows an error alert. And the ui is always loading.
Steps to reproduce
open https://dash.deno.com/new_project
Expected behavior
not showing errors, user repos selectable
Environment
No response
Possible solution
No response
Additional context
No response
I am not seeing this error for my personal account. It seems specific to your account, or just a transient error. Do you happen to have any idea on whether this issue has been there for a while? We will check our internal logs to see what was exactly going on.
@magurotuna it works yesterday, and I created several tesing projects already. And currently it never works.
And this soft of error is not specific to new project page. I see this error on urls like https://dash.deno.com/projects/{projectId}/settings as well, but not on https://dash.deno.com/projects/{projectId}.
Currently I'm not seeing this error. This situation lasted for several hours. Everything seems to work now.
Glad to hear that this issue is gone. But nevertheless, we should identify what caused it - I checked the log and found that GitHub API rejected with Bad Credential when we tried to fetch the list of your GitHub repositories. So I guess this error is gone after some time because you signed in with GitHub again, which refreshes the API token. If this is the case, what our system needs to do in this kind of situation is to try to refresh API tokens before returning errors to end users. I will add this improvement to our issue tracker so we can address it soon.