Skip to main content

Troubleshooting Guide

This guide covers common issues you may encounter when using the TealTiger Playground, along with solutions, error message explanations, free tier limitations, and support resources.
Most issues stem from Supabase configuration, GitHub OAuth setup, or free tier limits. Start with the relevant section below.

Authentication Issues

GitHub OAuth sign-in fails

  1. Verify GitHub OAuth is enabled in Supabase → Authentication → Providers → GitHub
  2. Check the OAuth callback URL matches: https://your-project.supabase.co/auth/v1/callback
  3. Confirm .env.local has correct VITE_SUPABASE_URL and VITE_SUPABASE_ANON_KEY

Session expires unexpectedly

  • Check that your browser isn’t blocking third-party cookies
  • Clear local storage for the playground domain and sign in again

Organization memberships not syncing

  • Ensure the OAuth app requests the read:org scope
  • Verify your GitHub org allows OAuth app access
  • Sign out and sign back in to force a sync

Supabase Connection Issues

”Failed to connect to Supabase”

  1. Check if your Supabase project is paused (free tier pauses after 7 days of inactivity)
  2. Verify environment variables are correct
  3. Test directly: curl https://your-project.supabase.co/rest/v1/ -H "apikey: your-anon-key"

Preventing project pausing

Set up a GitHub Actions cron job to ping your project every 3 days:
name: Keep Supabase Active
on:
  schedule:
    - cron: '0 0 */3 * *'
jobs:
  ping:
    runs-on: ubuntu-latest
    steps:
      - run: curl -s "${{ secrets.SUPABASE_URL }}/rest/v1/" -H "apikey:${{ secrets.SUPABASE_ANON_KEY }}"

Row Level Security (RLS) Errors

”new row violates row-level security policy”

  1. Verify you’re authenticated — sign out and sign back in
  2. Check your workspace membership and role in Supabase → workspace_members table
  3. Viewers cannot create/edit policies; Editors can create/edit but not manage members

”permission denied for table”

  • Ensure RLS is enabled on all tables
  • The audit_log table is append-only — update/delete operations are blocked by design

Policy Editor Issues

Monaco Editor not loading

  1. Hard refresh: Ctrl+Shift+R / Cmd+Shift+R
  2. Check browser console for JavaScript errors (Monaco requires WebAssembly)
  3. Ensure browser is up to date (Chrome 90+, Firefox 90+, Safari 15+)
  4. Disable content-modifying browser extensions

”Policy name already exists”

Policy names must be unique within a workspace. Choose a different name or open the existing policy from the registry.

Governance Workflow Issues

Can’t edit an Approved/Production policy

This is expected. Create a new version via “Create New Version” and submit through the approval workflow.

Emergency bypass not available

  • Must be enabled in Workspace Settings → Governance
  • Only workspace Owners can perform emergency bypasses

Free Tier Limitations

Supabase

ResourceLimitWhen exceeded
Database storage500 MBWrites fail
Monthly active users50,000New sign-ins rejected
Inactivity7 daysProject pauses

Vercel

ResourceLimit
Bandwidth100 GB/month
Build minutes6,000/month

GitHub Actions

ResourceLimit
Minutes (private repos)2,000/month
Minutes (public repos)Unlimited
The playground displays usage warnings at 80% and 95% thresholds.

Error Message Reference

ErrorCauseSolution
Auth session missingNo active sessionSign in again
new row violates row-level security policyRLS blocked the operationCheck workspace membership and role
duplicate key value violates unique constraintRecord already existsUse a different name
Policy is locked (state: approved)Editing an approved policyCreate a new version
VERCEL_TOKEN is not setMissing Vercel secretAdd secret in repository Settings

Support Resources