[discourse] "404 not found" on environment against existing organisation repo #4320
Replies: 2 comments
-
This doesn't appear to be a widely reported bug, but based on the code and config, a "404 not found" when accessing an environment tied to an existing GitHub org repo is most likely a configuration or permissions issue. A few things to check:
The Flipt backend treats most GitHub API errors (including 404s and 429s) as generic internal errors, so the UI may not show a clear reason for the failure. There’s no special handling for 404s—if the repo or org isn’t found, or if the API call fails, you’ll just get a generic error or a 404 page in the UI, and the repo will remain empty. Logs or audit trails (if available) may provide more detail. Let me know if you’ve already checked these or if you see any errors in the GitHub app’s audit log. If you can share more about your repo permissions or org setup, I can help dig deeper. To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
-
Reply from mark on Discourse: Hey @jvallesm ! Thanks for trying Flipt Cloud and for your feedback. I think it is indeed a bug that I will look into and keep you updated on the fix. I’ll respond to your email as well as I’d like to request a quick call with you if that’s ok to debug the issue |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Originally posted by jvallesm on Discourse
Hello!
I recently used Flipt Cloud for a feature flag POC and it worked great, so I wanted to move forward and start using the service within my team. In the POC I used my personal GitHub account to log in to Flipt Cloud and manage repositories that I own. What we want to do now is use my team’s GitHub organisation to log in to Flipt Cloud and to host the feature flag storage repositories.
Following the Getting Started guide, we created a Flipt Cloud account and 2 GitHub repos for a dev and a production environment and we authorised the Flipt Cloud GitHub app to access them. However, creating an environment against any of them (the creation steps are completed successfully) and visiting the environment the outcome is a “404 not found” page. The repos remain empty (no
README.md
orfeatures
directory).We did manage to create and access an environment by letting Flipt Cloud create a repo for us. Unfortunately, we’d like to manage our repos via an external tool (Terraform) so we want to use an existing repo. I also switched to my Flipt Cloud account (the one I created during the POC) and from there I could create an environment against a repository I own.
Is this an identified bug? Am I missing something in the configuration?
Thanks for your help!
Beta Was this translation helpful? Give feedback.
All reactions