Emergency Diagnostics
Use these tools to diagnose and repair critical account and company connection issues.
🔍 Database Diagnostic
Shows exactly what's in your database and why data isn't appearing
🚨 Emergency Data Repair
Run this if you're missing data after the recent RLS security updates
When to use this:
- Your clients, properties, or other data are not showing up
- You're stuck in an onboarding loop
- You see "UserProfile not found" errors
- Data exists in the database but isn't visible in the app
What this does:
Fixes all data integrity issues by assigning correct company_id values to all your records. Safe to run multiple times.
Account & Company Repair
Run this first. It attempts to find your company and automatically reconnect your user account.
Full System Report
If repair fails, run this to get a complete report of all companies and profiles in the database.
Force Logout
If you are stuck in a loop, this button will aggressively clear your session and redirect you to the login page.
After running a repair, please try logging out and logging back in completely.
Provide the output of these reports to support if the issue persists.