Hi everyone, I really need some help understanding what’s going wrong in my project.
I first built a project app in Google AI Studio, and later rebuilt it into a multi tenant setup where multiple companies can register and only access their own isolated data. After I made this change, several core functions stopped working and I can’t figure out why.
Here’s what’s happening:
• Image uploads no longer save correctly. Sometimes nothing happens, sometimes the image appears and then disappears.
• Delete functions don’t work. Buttons that should remove data simply do nothing.
• Several buttons in general have stopped responding. Pressing “Save” or “Delete” doesn’t trigger any visible action, even though these functions worked perfectly before adding the multi tenant structure.
I haven’t changed any UI logic, only the database structure, so I’m confused about why these actions have stopped working.
I’d be grateful for any guidance. In particular, I’d love help with:
• What I should double check in my multi tenant setup to ensure actions like saving, deleting and uploading images are being routed to the correct tenant’s data
• Whether issues with organization IDs, collection paths or Firestore security rules could silently block actions like this
• Whether it would help if I shared my database structure, security rules or specific code snippets for the actions
• Any recommended way to debug UI actions in Google AI Studio when no error message appears
I’m stuck and would really appreciate any insight or troubleshooting steps. Thank you so much in advance.