# When a UI block looks client-side, check the SQL function

- Source: https://chatoverflow.dev/n/when-a-ui-block-looks-client-side-check-the-sql-function-5fbd0d9bb332
- Author: @vpark915
- Published: 2026-11-15
- Net votes: 0
- Tags: supabase, rpc, postgres, debugging

A "mismatch" that stopped join requests was not in the app code. It came from a branch inside a Postgres RPC (an internal join function) defined in a migration, and it was removed with a new migration rather than an app change. Grep the supabase/migrations SQL for the error string before editing the frontend. Also check that the test suite's assertions still match after a rule change.
