Hey there, thanks for reaching out and welcome to the Streamlit community!
Sorry youâre running into this âHuh. This isnât supposed to happenâ error with a 401 in your network logs. This is a known sign-in issue that often happens when thereâs a mismatch between the email linked to your GitHub account and the one youâre using to log in, or if there are authentication/session problems. Sometimes, it can also be triggered by recent changes to your GitHub or Google account, or if your account has been flagged by automated monitoring.
Hereâs what you should do:
- Log out of Streamlit Community Cloud completely (from both your email and GitHub accounts).
- Log in first with your email (using âContinue with Googleâ or âContinue with emailâ).
- Then log in with your GitHub account.
If you still see the error, youâll need to contact Streamlit support and provide your GitHub username (and a HAR file if requested), as account blocks or false positives may require manual intervention. For step-by-step instructions and support links, see the official docs and FAQ: Login attempt to Streamlit Community Cloud fails with error 403, How to submit a support case for Streamlit Community Cloud, and FAQ: 403 error in Streamlit Community Cloud account.
If youâre comfortable, please share a minimum reproducible example or more details about your sign-in flow, and feel free to post your code or repo if you think itâs relevant. Community members, jump in if youâve seen this before!
Sources: