Error Loading BREEAM Data
Supabase fetch failed (404): {"code":"PGRST205","details":null,"hint":"Perhaps you meant the table 'public.products_v2'","message":"Could not find the table 'public.products' in the schema cache"}
Error: Supabase fetch failed (404): {"code":"PGRST205","details":null,"hint":"Perhaps you meant the table 'public.products_v2'","message":"Could not find the table 'public.products' in the schema cache"}
at m (/var/task/.next/server/app/breeam-check/page.js:1:1788)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async n (/var/task/.next/server/app/breeam-check/page.js:1:1899)
at async u (/var/task/.next/server/app/breeam-check/page.js:1:3718)
Troubleshooting steps:
- Check if Supabase credentials are configured in environment variables
- Verify that the database tables exist (products, attributes, product_attribute_values)
- Run the seed script: /api/demo/seed?mode=realistic
- Check the server logs for detailed error messages