Cannot access public repository to deploy to streamlit cloud because of workspaces

Summary

I am trying to deploy an app that has been moved to another organization. The new repo is here: GitHub - bio-learn/mortality-plot-demo

The linked github account I am using has full ownership access to the github organization. When I try to setup the app via the interface it gives me the error “Wrong workspace! You are in the workspace biomarkers-of-aging-consortium but are trying to deploy an app from bio-learn. Please switch workspaces in the top right.”

In the top right that is the only workspace that exists. Additionally there does not seem to be any interface for adding a workspace

Steps to reproduce

Expected behavior:

Can enter path for repo that I have access to

Actual behavior:

Error: “Wrong workspace! You are in the workspace biomarkers-of-aging-consortium but are trying to deploy an app from bio-learn. Please switch workspaces in the top right.”

Debug info

Cannot provide versions, code etc as this is all through the Web UI

Hey @Seth_Paulson,

To deploy an app that’s owned by an organization, you need to grant Streamlit Community Cloud access to that organization’s apps via the organization settings within GitHub. This Notion doc outlines the steps to grant access.

Thanks for the reply. I tried to go through the steps in the document but there is no Streamlit app in the list. I think because I have never requested access for streamlit to the github organization. I have no idea how I would do that as there does not seem to be anything in the streamlit interface to request access. This is what I am seeing

You can see in the interface my old application and organization. I think someone else must have gone through the process but I don’t know how. I even tried forking the sample application and I get the same error messaging

According to the docs I should see an interface like


But I’ve never seen anything like that.

I was able to resolve this issue after removing the streamlit authorization to my account (not the org) and then disassociated my github account from my streamlit account. I did this twice and after the second time it correctly requested and gained access to the org I wanted. No idea why it worked the second time.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.