[{"data":1,"prerenderedAt":1397},["ShallowReactive",2],{"blog-en-could-not-find-a-relationship-between":3,"blog-index-en":775},{"id":4,"title":5,"body":6,"category":732,"cover":733,"coverAlt":734,"description":735,"draft":736,"extension":737,"faq":738,"image":754,"keywords":755,"meta":764,"navigation":765,"ogTitle":5,"path":766,"published":767,"seo":768,"stem":769,"tldr":770,"updated":767,"__hash__":774},"blog_en\u002Fblog\u002Fcould-not-find-a-relationship-between.md","Supabase PGRST200: \"Could not find a relationship between\"",{"type":7,"value":8,"toc":720},"minimark",[9,13,24,40,47,50,55,58,80,108,111,117,121,130,136,144,147,153,180,188,209,213,220,226,264,287,293,301,312,316,323,348,354,357,363,386,390,396,408,433,436,470,476,481,493,499,502,506,512,525,528,534,544,550,553,568,585,589,592,601,617,622,631,651,656,665,670,674,713],[10,11,12],"p",{},"You asked your builder to show each order with the customer's name beside it.\nThe orders page is empty now, and the browser console has this:",[14,15,20],"pre",{"className":16,"code":18,"language":19},[17],"language-text","{\n  \"code\": \"PGRST200\",\n  \"details\": \"Searched for a foreign key relationship between 'orders' and 'customers' in the schema 'public', but no matches were found.\",\n  \"hint\": null,\n  \"message\": \"Could not find a relationship between 'orders' and 'customers' in the schema cache\"\n}\n","text",[21,22,18],"code",{"__ignoreMap":23},"",[10,25,26,27,31,32,35,36,39],{},"Supabase \"Could not find a relationship between\" means your app asked for two\ntables in one request and Supabase found nothing linking them. The link it looks\nfor is a ",[28,29,30],"strong",{},"foreign key",": a rule on one table saying that a column, such as\n",[21,33,34],{},"customer_id"," in ",[21,37,38],{},"orders",", holds the id of a row in another table. Without one,\nSupabase will not join the two, however obvious the connection looks from your\nside.",[10,41,42,43,46],{},"There are two ways to make the error go away, and one of them can change who\ncan read your data. The first is the foreign key. The second is a view that\njoins the two tables, and ",[28,44,45],{},"on Supabase a view skips your Row Level Security\nunless it is created with one extra setting",". Ask Lovable, Bolt, v0, Cursor,\nClaude Code or Replit to make the join work and a view is one of the things it\ncan write. The page fills up again, and nothing on it says who else can read it.",[10,48,49],{},"Picture your database as a building. Each table is a room, and Row Level\nSecurity is the guard on its door who checks every visitor's pass. A foreign key\nis a corridor between two rooms. Supabase fetches from two rooms in one trip only\nby walking a corridor it has on its floor plan.",[51,52,54],"h2",{"id":53},"what-does-could-not-find-a-relationship-between-mean","What does \"Could not find a relationship between\" mean?",[10,56,57],{},"It means Supabase looked for a foreign key between the two tables in the message\nand did not find one.",[10,59,60,61,64,65,68,69,71,72,79],{},"The part of Supabase that answers your app's ",[21,62,63],{},"supabase.from(...)"," calls is\ncalled PostgREST. When you write ",[21,66,67],{},".select('*, customers(*)')"," on ",[21,70,38],{},", you\nare asking it to fetch each order with its customer attached. Its\n",[73,74,78],"a",{"href":75,"rel":76},"https:\u002F\u002Fdocs.postgrest.org\u002Fen\u002Fv14\u002Freferences\u002Fapi\u002Fresource_embedding.html",[77],"nofollow","documentation","\nsays what it decides that with: \"The server uses Foreign Keys to determine which\ndatabase objects can be joined together.\" To avoid asking the database about its\nshape on every request, it keeps its own list of tables and foreign keys, called\nthe schema cache. That list is the floor plan.",[10,81,82,83,85,86,89,90,93,94,97,98,101,102,107],{},"The message names both rooms. ",[21,84,38],{}," is the table you called ",[21,87,88],{},".from()"," on, and\n",[21,91,92],{},"customers"," is the one you asked to attach. The ",[21,95,96],{},"details"," line adds the schema\nit searched, which is ",[21,99,100],{},"public"," unless your app was set up to use another. The status\nis HTTP 400, which means the request itself was wrong, and PostgREST's\n",[73,103,106],{"href":104,"rel":105},"https:\u002F\u002Fdocs.postgrest.org\u002Fen\u002Fv14\u002Freferences\u002Ferrors.html",[77],"error reference","\ngives three causes: \"stale foreign key relationships, otherwise any of the\nembedding resources or the relationship itself may not exist in the database.\"",[10,109,110],{},"So there are three things to check: whether a foreign key exists, whether both\nnames are tables PostgREST can see, and whether its list is out of date.",[112,113],"diagram",{"alt":114,"caption":115,"src":116},"Upper lane: a request from the browser enters the orders room, finds only the dashed outline of a corridor to the customers room, and stops at a red cross under PGRST200. Lower lane: the same two rooms joined by a corridor marked customer_id, and the request reaches customers and gets a tick.","PostgREST joins two tables only along a foreign key. With no corridor on its floor plan, the request stops at PGRST200.","\u002Fblog\u002Fcould-not-find-a-relationship-between\u002Fno-corridor-no-join-1600x700.png",[51,118,120],{"id":119},"cause-1-there-is-no-foreign-key","Cause 1: there is no foreign key",[10,122,123,124,126,127,129],{},"Start here. Your builder made both tables and gave ",[21,125,38],{}," a\n",[21,128,34],{}," column, but never told Postgres, the database Supabase runs on,\nwhat that column points at. To Postgres it is a column of ids like any other.",[10,131,132,133,135],{},"To check, run this in the SQL Editor. No row back means ",[21,134,38],{}," has no foreign\nkey at all:",[14,137,142],{"className":138,"code":140,"language":141,"meta":23},[139],"language-sql","select conname, confrelid::regclass as points_at\nfrom pg_constraint\nwhere contype = 'f' and conrelid = 'public.orders'::regclass;\n","sql",[21,143,140],{"__ignoreMap":23},[10,145,146],{},"Then add the one that is missing:",[14,148,151],{"className":149,"code":150,"language":141,"meta":23},[139],"alter table public.orders\n  add constraint orders_customer_id_fkey\n  foreign key (customer_id) references public.customers (id);\n",[21,152,150],{"__ignoreMap":23},[10,154,155,156,159,160,163,164,166,167,171,172,174,175,179],{},"Or ask your builder for exactly that: \"add a foreign key from ",[21,157,158],{},"orders.customer_id","\nto ",[21,161,162],{},"customers.id","\". Either way, Postgres checks every row already in ",[21,165,38],{},"\nfirst. Its ",[73,168,78],{"href":169,"rel":170},"https:\u002F\u002Fwww.postgresql.org\u002Fdocs\u002Fcurrent\u002Fsql-altertable.html",[77],"\nsays adding a constraint scans the table \"to verify that all existing rows in\nthe table satisfy the new constraint\". An order whose ",[21,173,34],{}," points at a\ncustomer who no longer exists stops it with\n",[73,176,178],{"href":177},"\u002Fblog\u002Fviolates-foreign-key-constraint","the foreign key error",", which tells you\nwhich value has no match. Fix or remove those rows, then run it again.",[10,181,182,183,187],{},"You do not have to tell PostgREST about the new key. Supabase reloads the schema\ncache by itself after each change to a table, and\n",[73,184,186],{"href":185},"\u002Fblog\u002Fsupabase-schema-cache-column-error","the post on PGRST204"," covers how that\nworks and the one line to run when it does not. Reload the page and the join\nworks.",[10,189,190,191,194,195,198,199,202,203,68,206,208],{},"Two tables linked through a third, such as ",[21,192,193],{},"posts"," and ",[21,196,197],{},"tags"," through\n",[21,200,201],{},"post_tags",", need one more thing. PostgREST's documentation says that middle\ntable \"must contain foreign keys to other two tables and they must be part of\nits composite key\", which is the key made of more than one column that tells its\nrows apart. ",[21,204,205],{},"primary key (post_id, tag_id)",[21,207,201],{}," is the usual way to\ngive it one.",[51,210,212],{"id":211},"cause-2-the-name-is-not-a-table-postgrest-can-see","Cause 2: the name is not a table PostgREST can see",[10,214,215,216,219],{},"The second name in the message has to be a table in the schema it searched,\nspelled the way the table spells it. When the name is close to a table that\nexists, the error says so in its ",[21,217,218],{},"hint",":",[14,221,224],{"className":222,"code":223,"language":19},[17],"\"hint\": \"Perhaps you meant 'customers' instead of 'customer'.\"\n",[21,225,223],{"__ignoreMap":23},[10,227,228,229,232,233,235,236,239,240,245,246,249,250,252,253,255,256,259,260,263],{},"On Supabase the name to look at first is ",[21,230,231],{},"users",". Supabase keeps signed-up\nusers in a table called ",[21,234,231],{}," inside a schema called ",[21,237,238],{},"auth",", and its\n",[73,241,244],{"href":242,"rel":243},"https:\u002F\u002Fsupabase.com\u002Fdocs\u002Fguides\u002Fauth\u002Fmanaging-user-data",[77],"guide to user data","\nsays plainly: \"For security, the Auth schema is not exposed in the\nauto-generated API.\" So ",[21,247,248],{},".from('posts').select('*, users(email)')"," looks for a\n",[21,251,231],{}," table in ",[21,254,100],{},", finds none, and returns this error, even when\n",[21,257,258],{},"posts.user_id"," has a perfectly good foreign key to ",[21,261,262],{},"auth.users",". The room is in\na wing that is not on the floor plan.",[10,265,266,267,269,270,272,273,276,277,280,281,283,284,286],{},"Supabase's answer is a table of your own. The same guide says \"you can create\nyour own user tables in the ",[21,268,100],{}," schema\" that reference ",[21,271,262],{},", and\nits example calls that table ",[21,274,275],{},"profiles",", with an ",[21,278,279],{},"id"," that is the user's id. If\nyour app has one, give ",[21,282,258],{}," a second foreign key, to ",[21,285,275],{},", and\njoin that:",[14,288,291],{"className":289,"code":290,"language":141,"meta":23},[139],"alter table public.posts\n  add constraint posts_user_id_profiles_fkey\n  foreign key (user_id) references public.profiles (id);\n",[21,292,290],{"__ignoreMap":23},[14,294,299],{"className":295,"code":297,"language":298,"meta":23},[296],"language-js","const { data } = await supabase.from('posts').select('*, profiles(username)')\n","js",[21,300,297],{"__ignoreMap":23},[10,302,303,304,306,307,311],{},"This depends on every user having a ",[21,305,275],{}," row, which is what the trigger\nthat creates one at sign-up is for.\n",[73,308,310],{"href":309},"\u002Fblog\u002Fdatabase-error-saving-new-user","When that trigger fails",", sign-ups fail\nwith it.",[51,313,315],{"id":314},"what-if-there-are-two-foreign-keys-between-the-tables","What if there are two foreign keys between the tables?",[10,317,318,319,322],{},"Then the error changes, and the fix is to name the one you mean after a ",[21,320,321],{},"!",".",[10,324,325,326,329,330,332,333,336,337,340,341,344,345,347],{},"A ",[21,327,328],{},"messages"," table can point at ",[21,331,275],{}," twice: once for the sender and\nonce for the receiver. Ask for ",[21,334,335],{},"profiles(*)"," and PostgREST cannot pick, so it\nanswers with HTTP 300, the code ",[21,338,339],{},"PGRST201"," and the message\n",[21,342,343],{},"Could not embed because more than one relationship was found for 'messages' and 'profiles'",".\nIts hint lists the choices, each one the table name, a ",[21,346,321],{}," and the name of one\nforeign key:",[14,349,352],{"className":350,"code":351,"language":19},[17],"Try changing 'profiles' to one of the following: 'profiles!messages_sender_id_fkey', 'profiles!messages_receiver_id_fkey'. Find the desired relationship in the 'details' key.\n",[21,353,351],{"__ignoreMap":23},[10,355,356],{},"Copy the names from the hint into your select. The word before each colon is the\nname the joined row gets in your data, so the two do not overwrite each other:",[14,358,361],{"className":359,"code":360,"language":298,"meta":23},[296],"const { data } = await supabase\n  .from('messages')\n  .select(\n    '*, sender:profiles!messages_sender_id_fkey(username), receiver:profiles!messages_receiver_id_fkey(username)',\n  )\n",[21,362,360],{"__ignoreMap":23},[10,364,365,366,371,372,374,375,378,379,381,382,385],{},"Supabase's ",[73,367,370],{"href":368,"rel":369},"https:\u002F\u002Fsupabase.com\u002Fdocs\u002Fguides\u002Fdatabase\u002Fjoins-and-nesting",[77],"guide to joins","\nputs a column name after the ",[21,373,321],{}," in its own example (",[21,376,377],{},"scans!scan_id_start","). A\nname after the ",[21,380,321],{}," that matches no foreign key brings back PGRST200, with\n",[21,383,384],{},"using the hint"," added to its details.",[51,387,389],{"id":388},"can-i-use-a-view-instead-of-a-foreign-key","Can I use a view instead of a foreign key?",[10,391,392,393,322],{},"You can, and on Supabase it is the version of the fix to be careful with,\nbecause a view skips your Row Level Security unless it is created with\n",[21,394,395],{},"security_invoker = true",[10,397,325,398,401,402,404,405,407],{},[28,399,400],{},"view"," is a saved query that your app reads like a table. One that joins\n",[21,403,38],{}," to ",[21,406,92],{}," looks like the shortest way round this error, since\nthere is nothing left to join: each row already carries both tables' columns.",[10,409,410,411,416,417,420,421,426,427,432],{},"Supabase's\n",[73,412,415],{"href":413,"rel":414},"https:\u002F\u002Fsupabase.com\u002Fdocs\u002Fguides\u002Fdatabase\u002Fpostgres\u002Frow-level-security",[77],"Row Level Security guide","\nsays what happens next: \"Views bypass RLS by default because they are usually\ncreated with the ",[21,418,419],{},"postgres"," user.\" Postgres's own\n",[73,422,425],{"href":423,"rel":424},"https:\u002F\u002Fwww.postgresql.org\u002Fdocs\u002Fcurrent\u002Fsql-createview.html",[77],"page on CREATE VIEW","\ngives the reason. By default, access to the tables behind a view \"is determined\nby the permissions of the view owner\", and the Row Level Security rules applied\nare the owner's as well. Supabase's\n",[73,428,431],{"href":429,"rel":430},"https:\u002F\u002Fsupabase.com\u002Fdocs\u002Fguides\u002Fdatabase\u002Fdatabase-advisors",[77],"Security Advisor documentation","\ncalls that \"an unintuitive default, chosen for backwards compatibility with older\nPostgres versions\".",[10,434,435],{},"In the building, a view is a counter in the lobby. You ask at the counter, and a\nclerk fetches from the rooms using the owner's pass. The guards let the owner\nin, so whoever is at the counter gets what the owner could see.",[10,437,438,439,442,443,446,447,449,450,452,453,457,458,462,463,465,466,469],{},"Who may walk up to that counter is decided by a ",[28,440,441],{},"grant",", the Postgres\npermission that lets a role such as ",[21,444,445],{},"anon",", a visitor who is not signed in, read\na table or a view at all. Supabase used to grant every new table in ",[21,448,100],{}," to\n",[21,451,445],{}," automatically, and\n",[73,454,456],{"href":455},"\u002Fblog\u002Fsupabase-permission-denied-for-table","stopped for every project on 30 October 2026",".\nPostgres counts views as tables when it hands out those default grants, so a view\nmade while they were on can be read with your app's public key, and\n",[73,459,461],{"href":460},"\u002Fblog\u002Fwhich-api-keys-are-safe-in-your-frontend","that key ships in your page",".\nA view made since then is open as soon as somebody grants ",[21,464,445],{}," access to it,\nwhich is the grant a ",[21,467,468],{},"permission denied"," error suggests.",[10,471,472,473,475],{},"The worst version is a view over ",[21,474,262],{},", built to get round Cause 2.\nSupabase's Security Advisor has a rule for that alone, \"User data exposed\nthrough a view\", and says such a view \"exposes all user records to all API\nusers\".",[112,477],{"alt":478,"caption":479,"src":480},"Upper lane: a visitor holding the anon key asks at a counter, a larger key behind the counter opens the padlock, and every row of the table comes back amber. Lower lane: the same counter marked security_invoker = true, the visitor's own small key meets a closed padlock, and only two rows are lit.","A view runs with its owner's rights unless it is told otherwise. With security_invoker = true, the visitor's own rules decide what comes back.","\u002Fblog\u002Fcould-not-find-a-relationship-between\u002Fwho-carries-the-pass-1600x760.png",[10,482,483,484,486,487,194,489,492],{},"The safe version is one line longer. Supabase's guide says that on Postgres 15\nand above, setting ",[21,485,395],{}," makes a view obey the Row Level\nSecurity of its tables when ",[21,488,445],{},[21,490,491],{},"authenticated"," ask:",[14,494,497],{"className":495,"code":496,"language":141,"meta":23},[139],"create view public.orders_with_customers\nwith (security_invoker = true)\nas\nselect o.id, o.total, o.created_at, c.name as customer_name\nfrom public.orders o\njoin public.customers c on c.id = o.customer_id;\n",[21,498,496],{"__ignoreMap":23},[10,500,501],{},"Now the clerk carries your pass. Postgres applies \"the policies and permissions\nof the invoking user\", so a visitor sees through the view only the rows the\nrules on both tables allow them. They also need a grant on both tables as well\nas on the view.",[51,503,505],{"id":504},"how-do-i-check-whether-a-view-ignores-my-rules","How do I check whether a view ignores my rules?",[10,507,508,509,322],{},"Open the Security Advisor in your Supabase dashboard. A view that runs with its\nowner's rights is listed there as ",[28,510,511],{},"Security Definer View",[10,513,514,515,518,519,521,522,524],{},"That is rule 0010. Supabase rates it ERROR, sums it up as \"View bypasses\nrow-level security\", and names the view in its detail:\n",[21,516,517],{},"View `public.orders_with_customers` is defined with the SECURITY DEFINER property",".\nIt lists views that ",[21,520,445],{}," or ",[21,523,491],{}," can read, in a schema your app\ncan reach, on Postgres 15 or later.",[10,526,527],{},"To check by hand, run this in the SQL Editor:",[14,529,532],{"className":530,"code":531,"language":141,"meta":23},[139],"select relname as view_name, reloptions\nfrom pg_class\nwhere relkind = 'v' and relnamespace = 'public'::regnamespace;\n",[21,533,531],{"__ignoreMap":23},[10,535,536,537,521,540,543],{},"A view with ",[21,538,539],{},"security_invoker=true",[21,541,542],{},"security_invoker=on"," in the second\ncolumn follows your rules. A view with nothing there runs as its owner. Switch\none without rebuilding it:",[14,545,548],{"className":546,"code":547,"language":141,"meta":23},[139],"alter view public.orders_with_customers set (security_invoker = true);\n",[21,549,547],{"__ignoreMap":23},[10,551,552],{},"Then open the page as a visitor who is not signed in. Rows that disappear are\nrows the view was handing out and your rules never allowed. If some of them are\nmeant to be public, write a policy on the table they come from that says so.",[10,554,555,558,559,562,563,194,565,567],{},[21,556,557],{},"security_invoker"," needs Postgres 15 or later, and ",[21,560,561],{},"select version();"," shows\nyours. On an older one, Supabase's advice is to protect views by revoking access\nfrom the ",[21,564,445],{},[21,566,491],{}," roles, or by moving them to a schema your\napp cannot reach.",[10,569,570,571,575,576,580,581,322],{},"Whether a table or a view hands its rows to a stranger can be seen from outside.\nOur free scan asks each table and view your app's code names how many rows a\nvisitor with no login can count, reads only the number, and takes about 20\nseconds with no account. ",[73,572,574],{"href":573},"\u002Fsecurity-scanner","Scan your app",". If a table answers\nthat visitor on its own,\n",[73,577,579],{"href":578},"\u002Fblog\u002Fenable-rls-on-every-supabase-table","switch Row Level Security on and prove it",",\nand ",[73,582,584],{"href":583},"\u002Fblog\u002Fcan-anyone-read-your-supabase-database","check what anyone can already read",[51,586,588],{"id":587},"keeping-your-data-private-after-the-next-change","Keeping your data private after the next change",[10,590,591],{},"A foreign key stays where you put it. A view, a policy and a grant can all\nchange whenever you or your builder edit the project, and the next view anyone\ncreates runs as its owner unless whoever writes it says otherwise. A view that\nreads from one table can also take changes when the visitor has a grant to\nwrite to it: Postgres's documentation says simple views are \"automatically\nupdatable\", and by default the write goes through with the owner's rights.",[10,593,594],{},[28,595,596,600],{},[73,597,599],{"href":598},"\u002Fwebsite-monitoring","Reeve Monitor"," keeps checking from outside:",[602,603,604,608,611,614],"ul",{},[605,606,607],"li",{},"the full security check every hour, including how many rows a visitor with no login can count in the tables and views your app reads",[605,609,610],{},"whether your app answers, every 60 seconds, and up to 10 more pages you choose",[605,612,613],{},"an alert by email, Telegram, Slack or webhook when the app goes down or a page breaks",[605,615,616],{},"a monthly report on your app, written for you",[10,618,619],{},[73,620,621],{"href":598},"See what Monitor checks",[10,623,624],{},[28,625,626,630],{},[73,627,629],{"href":628},"\u002Fsupabase-backups","Reeve Care"," keeps a copy of your Supabase database:",[602,632,633,636,639,642,645,648],{},[605,634,635],{},"an encrypted copy on a schedule, on Reeve's own storage in the EU, outside your Supabase account",[605,637,638],{},"the last copy before a change holds your tables as they were, rows included",[605,640,641],{},"each copy verified before it counts, by counting the rows in every table",[605,643,644],{},"your uploaded files as well, once you connect a Storage credential",[605,646,647],{},"a one-click restore, with a safety copy of the current state taken first",[605,649,650],{},"everything Monitor does",[10,652,653],{},[73,654,655],{"href":628},"See what Care keeps",[10,657,658,664],{},[28,659,660,663],{},[73,661,662],{"href":573},"The free scan"," shows what a visitor with no login can\ncount in your tables and views today."," About 20 seconds, and no account.",[10,666,667],{},[73,668,669],{"href":573},"Scan your app free in 20 seconds",[51,671,673],{"id":672},"what-to-do-now","What to do now",[675,676,677],"key-takeaways",{},[602,678,679,684,687,695,700,710],{},[605,680,681,682,322],{},"Read the two table names in the message, and the schema in ",[21,683,96],{},[605,685,686],{},"Look for a foreign key between the two tables, and add it if it is missing.",[605,688,689,690,692,693,322],{},"Join your ",[21,691,275],{}," table for user details, never ",[21,694,262],{},[605,696,697,698,322],{},"When two foreign keys point at the same table, put the one you mean after a ",[21,699,321],{},[605,701,702,703,706,707,322],{},"Create any view ",[21,704,705],{},"with (security_invoker = true)",", and switch existing ones with ",[21,708,709],{},"alter view",[605,711,712],{},"Check the Security Advisor for views listed as Security Definer View, then open the page signed out.",[10,714,715,716,719],{},"Start with the foreign key, because it fixes the error without changing who can\nread what. If your project already has a view, ",[73,717,718],{"href":573},"scan your app","\nto see what a visitor with no login can count through it.",{"title":23,"searchDepth":721,"depth":721,"links":722},3,[723,725,726,727,728,729,730,731],{"id":53,"depth":724,"text":54},2,{"id":119,"depth":724,"text":120},{"id":211,"depth":724,"text":212},{"id":314,"depth":724,"text":315},{"id":388,"depth":724,"text":389},{"id":504,"depth":724,"text":505},{"id":587,"depth":724,"text":588},{"id":672,"depth":724,"text":673},"Security basics","\u002Fblog\u002Fcould-not-find-a-relationship-between\u002Fcover-1200x630.png","Two buildings across a gap. A covered corridor leaves the nearer one and stops halfway across.","Supabase \"Could not find a relationship between\" means no foreign key links the two tables. Add one, use ! when there are two, and keep views under RLS.",false,"md",[739,742,745,748,751],{"q":740,"a":741},"What does PGRST200 mean in Supabase?","PGRST200 is the code PostgREST, the part of Supabase that answers your app's database calls, gives a request that asks for one table inside another when it finds no foreign key between them. It comes back with HTTP 400 and the message \"Could not find a relationship between 'x' and 'y' in the schema cache\". The details field names the schema it searched.",{"q":743,"a":744},"How do I join two tables in Supabase?","Give one table a foreign key to the other, then name the second table inside select, as in .select('*, customers(name)'). Supabase works out the join from the foreign key, so nothing else is needed. When two foreign keys point at the same table, add the one you mean after a !.",{"q":746,"a":747},"Why can't I join auth.users in Supabase?","Because the auth schema, where Supabase keeps auth.users, is not exposed to the API your app talks to. Supabase's answer is a table of your own in public that references auth.users, which its example calls profiles. Join that one. Do not put a view over auth.users in public: Supabase's Security Advisor lists that as user data exposed through a view.",{"q":749,"a":750},"Do Supabase views respect Row Level Security?","Not by default. Supabase's documentation says views bypass RLS by default because they are usually created by the postgres user. On Postgres 15 or later, create the view with (security_invoker = true), or switch an existing one with alter view … set (security_invoker = true), and it uses the rules of whoever is asking.",{"q":752,"a":753},"I added the foreign key and still get the error. What now?","Check that the key went into the project your app calls, and that the table names in your select match the real ones letter for letter. Supabase reloads its schema cache by itself after a change to a table. If it is out of date anyway, run NOTIFY pgrst, 'reload schema'; in the SQL Editor.","\u002Fblog\u002Fcould-not-find-a-relationship-between\u002Fcard-800x500.png",[756,757,758,759,760,761,762,763],"could not find a relationship between","pgrst200","supabase could not find a relationship between tables in the schema cache","supabase join tables","supabase foreign key join","supabase view rls","supabase security definer view","pgrst201",{},true,"\u002Fblog\u002Fcould-not-find-a-relationship-between","2026-11-23",{"title":5,"description":735},"blog\u002Fcould-not-find-a-relationship-between",[771,772,773],"Supabase \"Could not find a relationship between\" (PGRST200) means your app asked for two tables in one request and PostgREST found no foreign key linking them. It joins tables along foreign keys and nothing else.","Add the foreign key, or join the table that really holds the link. For a signed-up user that is your own profiles table, because the auth schema that holds auth.users is not exposed to your app.","A view that joins the two tables also makes the error go away. On Supabase a view skips your Row Level Security unless it is created with security_invoker = true, so check it before you rely on it.","IFsS0GFQrjZZ3F8-Wdi5OQVDDN10j3BP8SkGqDRIRRc",[776,782,788,789,795,801,807,813,819,826,832,838,844,850,856,862,868,874,880,885,891,897,903,909,915,921,927,933,939,945,951,957,963,969,975,981,986,992,998,1004,1010,1016,1022,1027,1033,1039,1045,1051,1057,1063,1069,1075,1081,1087,1093,1099,1105,1111,1117,1123,1129,1135,1139,1145,1151,1157,1163,1169,1175,1181,1187,1193,1199,1205,1211,1217,1223,1229,1234,1240,1246,1252,1258,1264,1270,1276,1282,1288,1294,1300,1306,1312,1318,1324,1330,1336,1342,1348,1354,1359,1364,1370,1376,1382,1387,1393],{"path":777,"title":778,"description":779,"published":780,"category":732,"image":781,"draft":736},"\u002Fblog\u002Fviolates-check-constraint","\"new row for relation violates check constraint\" in Supabase","Supabase \"violates check constraint\": a value in the row broke a rule on the table. How to read the rule, and why you should keep it.","2026-11-25","\u002Fblog\u002Fviolates-check-constraint\u002Fcard-800x500.png",{"path":783,"title":784,"description":785,"published":786,"category":732,"image":787,"draft":736},"\u002Fblog\u002Foperator-does-not-exist-uuid-text","Supabase \"operator does not exist: uuid = text\" in a policy","Supabase \"operator does not exist: uuid = text\": auth.uid() is a uuid and your column is text. Make them match, and never loosen the policy.","2026-11-24","\u002Fblog\u002Foperator-does-not-exist-uuid-text\u002Fcard-800x500.png",{"path":766,"title":5,"description":735,"published":767,"category":732,"image":754,"draft":736},{"path":790,"title":791,"description":792,"published":793,"category":732,"image":794,"draft":736},"\u002Fblog\u002Fsupabase-only-returns-1000-rows","Supabase only returns 1000 rows: how to get the rest","Supabase only returns 1000 rows per request because of its Max rows setting. How to page through the rest, count them, and what the cap is there for.","2026-11-22","\u002Fblog\u002Fsupabase-only-returns-1000-rows\u002Fcard-800x500.png",{"path":796,"title":797,"description":798,"published":799,"category":732,"image":800,"draft":736},"\u002Fblog\u002Ferror-running-hook-uri","\"Error running hook URI\" in Supabase: why nobody can sign in","\"Error running hook URI\" means a Supabase Auth hook failed, so sign-in or sign-up fails for everyone. Where the real error is, and the safe fix.","2026-11-21","\u002Fblog\u002Ferror-running-hook-uri\u002Fcard-800x500.png",{"path":802,"title":803,"description":804,"published":805,"category":732,"image":806,"draft":736},"\u002Fblog\u002Fsupabase-realtime-channel-error","Supabase Realtime CHANNEL_ERROR: why a subscription gets nothing","Supabase Realtime CHANNEL_ERROR, or no events at all: usually a rule doing its job. How to read the reason and fix it without opening your data.","2026-11-20","\u002Fblog\u002Fsupabase-realtime-channel-error\u002Fcard-800x500.png",{"path":808,"title":809,"description":810,"published":811,"category":732,"image":812,"draft":736},"\u002Fblog\u002Ferr-ssl-version-or-cipher-mismatch","ERR_SSL_VERSION_OR_CIPHER_MISMATCH on a new custom domain","ERR_SSL_VERSION_OR_CIPHER_MISMATCH on a domain you just connected: why the name has no certificate yet, and when to wait, go DNS only or shorten the name.","2026-11-19","\u002Fblog\u002Ferr-ssl-version-or-cipher-mismatch\u002Fcard-800x500.png",{"path":814,"title":815,"description":816,"published":817,"category":732,"image":818,"draft":736},"\u002Fblog\u002Fapplication-error-a-client-side-exception-has-occurred","\"Application error: a client-side exception has occurred\" in Next.js","Application error: a client-side exception has occurred on your v0 or Next.js app: where the real error is and how to fix it.","2026-11-18","\u002Fblog\u002Fapplication-error-a-client-side-exception-has-occurred\u002Fcard-800x500.png",{"path":820,"title":821,"description":822,"published":823,"category":824,"image":825,"draft":736},"\u002Fblog\u002Freplit-database-rollback","Replit database rollback: does a checkpoint bring your data back?","A Replit database rollback restores the development database only when you ask. Your live data has a restore of its own. Which one you need, and how.","2026-11-17","Backups","\u002Fblog\u002Freplit-database-rollback\u002Fcard-800x500.png",{"path":827,"title":828,"description":829,"published":830,"category":732,"image":831,"draft":736},"\u002Fblog\u002Fthe-object-exceeded-the-maximum-allowed-size","\"The object exceeded the maximum allowed size\" in Supabase Storage","\"The object exceeded the maximum allowed size\" means a Supabase Storage limit refused the file. Which of two limits did it, and how to raise it.","2026-11-16","\u002Fblog\u002Fthe-object-exceeded-the-maximum-allowed-size\u002Fcard-800x500.png",{"path":833,"title":834,"description":835,"published":836,"category":732,"image":837,"draft":736},"\u002Fblog\u002Fsignups-not-allowed-for-this-instance","\"Signups not allowed for this instance\" in Supabase","\"Signups not allowed for this instance\" is Supabase refusing new accounts. Which switch does it, and why hiding your sign-up form is not the same thing.","2026-11-15","\u002Fblog\u002Fsignups-not-allowed-for-this-instance\u002Fcard-800x500.png",{"path":839,"title":840,"description":841,"published":842,"category":732,"image":843,"draft":736},"\u002Fblog\u002Fis-lovable-down-or-your-app","Is Lovable down, or is it your app? How to tell","Is Lovable down, or is it your app? Its editor, hosting and backend fail separately, and a paused backend looks like an outage. Here is how to tell.","2026-11-14","\u002Fblog\u002Fis-lovable-down-or-your-app\u002Fcard-800x500.png",{"path":845,"title":846,"description":847,"published":848,"category":732,"image":849,"draft":736},"\u002Fblog\u002Ffailed-to-load-module-script","\"Failed to load module script\": the blank page after a deploy","Failed to load module script and a blank page after a deploy: how to tell if one visitor or every visitor sees it, and the fix for each case.","2026-11-13","\u002Fblog\u002Ffailed-to-load-module-script\u002Fcard-800x500.png",{"path":851,"title":852,"description":853,"published":854,"category":732,"image":855,"draft":736},"\u002Fblog\u002Ferr-too-many-redirects","ERR_TOO_MANY_REDIRECTS on a custom domain behind Cloudflare","ERR_TOO_MANY_REDIRECTS after you put Cloudflare in front of your site: why the loop happens, and the fix that keeps your sign-ins encrypted.","2026-11-12","\u002Fblog\u002Ferr-too-many-redirects\u002Fcard-800x500.png",{"path":857,"title":858,"description":859,"published":860,"category":824,"image":861,"draft":736},"\u002Fblog\u002Flovable-cloud-backup","Lovable Cloud backup: does Lovable back up your database?","A Lovable Cloud backup is taken daily and kept about 14 days, in the same backend as your data. What it holds, who can restore it, how to keep a copy.","2026-11-11","\u002Fblog\u002Flovable-cloud-backup\u002Fcard-800x500.png",{"path":863,"title":864,"description":865,"published":866,"category":732,"image":867,"draft":736},"\u002Fblog\u002Fthis-site-cant-be-reached","\"This site can't be reached\" on your own domain: read the code","Your own site says \"This site can't be reached\". The code under the headline tells you whether the name, the host or the network failed, and what to fix.","2026-11-10","\u002Fblog\u002Fthis-site-cant-be-reached\u002Fcard-800x500.png",{"path":869,"title":870,"description":871,"published":872,"category":732,"image":873,"draft":736},"\u002Fblog\u002Fmax-client-connections-reached","Supabase \"max client connections reached\", explained","Supabase \"max client connections reached\" means the pooler has no room for one more client. The port in your connection string decides the limit.","2026-11-09","\u002Fblog\u002Fmax-client-connections-reached\u002Fcard-800x500.png",{"path":875,"title":876,"description":877,"published":878,"category":732,"image":879,"draft":736},"\u002Fblog\u002Funsupported-provider-provider-is-not-enabled","\"Unsupported provider: provider is not enabled\" in Supabase","\"Unsupported provider: provider is not enabled\" means Google sign-in is off in your Supabase project. How to turn it on, and fix redirect_uri_mismatch.","2026-11-08","\u002Fblog\u002Funsupported-provider-provider-is-not-enabled\u002Fcard-800x500.png",{"path":177,"title":881,"description":882,"published":883,"category":732,"image":884,"draft":736},"\"violates foreign key constraint\" on insert in Supabase","Supabase \"insert or update on table violates foreign key constraint\": your row points at a row that is not there. Which one, why, and the fix.","2026-11-07","\u002Fblog\u002Fviolates-foreign-key-constraint\u002Fcard-800x500.png",{"path":886,"title":887,"description":888,"published":889,"category":732,"image":890,"draft":736},"\u002Fblog\u002Fnull-value-violates-not-null-constraint","\"null value in column violates not-null constraint\" in Supabase","Supabase \"null value in column violates not-null constraint\": a required column arrived empty. Where the null came from, and the fix.","2026-11-06","\u002Fblog\u002Fnull-value-violates-not-null-constraint\u002Fcard-800x500.png",{"path":892,"title":893,"description":894,"published":895,"category":732,"image":896,"draft":736},"\u002Fblog\u002Fauth-session-missing","Supabase \"Auth session missing!\": where the session went","\"Auth session missing!\" is supabase-js finding no signed-in session and stopping before it asks Supabase. Where the session went, and the fix for each.","2026-11-05","\u002Fblog\u002Fauth-session-missing\u002Fcard-800x500.png",{"path":898,"title":899,"description":900,"published":901,"category":732,"image":902,"draft":736},"\u002Fblog\u002Finvalid-claim-missing-sub-claim","Supabase \"invalid claim: missing sub claim\": nobody is signed in","\"invalid claim: missing sub claim\" means Supabase Auth got a genuine token that names no user: your project key, sent where a session belongs.","2026-11-04","\u002Fblog\u002Finvalid-claim-missing-sub-claim\u002Fcard-800x500.png",{"path":904,"title":905,"description":906,"published":907,"category":732,"image":908,"draft":736},"\u002Fblog\u002Ffailed-to-send-a-request-to-the-edge-function","\"Failed to send a request to the Edge Function\" in Supabase","\"Failed to send a request to the Edge Function\" means the browser got no reply it could read. Its console says why, and whether your function ran.","2026-11-03","\u002Fblog\u002Ffailed-to-send-a-request-to-the-edge-function\u002Fcard-800x500.png",{"path":910,"title":911,"description":912,"published":913,"category":732,"image":914,"draft":736},"\u002Fblog\u002Fsupabase-auth-redirects-to-localhost","Why Supabase email links redirect to localhost:3000","A Supabase redirect to localhost:3000 means the Site URL was never changed, or your address is missing from Redirect URLs. The fix, and the wildcard to avoid.","2026-11-02","\u002Fblog\u002Fsupabase-auth-redirects-to-localhost\u002Fcard-800x500.png",{"path":916,"title":917,"description":918,"published":919,"category":732,"image":920,"draft":736},"\u002Fblog\u002Femail-link-is-invalid-or-has-expired","Supabase \"Email link is invalid or has expired\" on a fresh link","On a link sent a minute ago, Supabase's \"Email link is invalid or has expired\" usually means a mail filter used it first. How to check and fix it.","2026-11-01","\u002Fblog\u002Femail-link-is-invalid-or-has-expired\u002Fcard-800x500.png",{"path":922,"title":923,"description":924,"published":925,"category":732,"image":926,"draft":736},"\u002Fblog\u002Fcanceling-statement-due-to-statement-timeout","Supabase \"canceling statement due to statement timeout\", explained","Supabase \"canceling statement due to statement timeout\" means a query outran its role's limit, 3 seconds for a visitor. Check the RLS policy first.","2026-10-31","\u002Fblog\u002Fcanceling-statement-due-to-statement-timeout\u002Fcard-800x500.png",{"path":928,"title":929,"description":930,"published":931,"category":824,"image":932,"draft":736},"\u002Fblog\u002Fdatabase-error-deleting-user","\"Database error deleting user\" in Supabase, and what goes with it","\"Database error deleting user\" in Supabase means your database refused the delete. The reason is in your logs, and the fix decides what else is deleted.","2026-10-30","\u002Fblog\u002Fdatabase-error-deleting-user\u002Fcard-800x500.png",{"path":934,"title":935,"description":936,"published":937,"category":732,"image":938,"draft":736},"\u002Fblog\u002Fstripe-webhook-no-signatures-found","\"No signatures found matching the expected signature\" in Supabase","A Stripe webhook in a Supabase Edge Function that says \"No signatures found matching the expected signature\" has one of two causes. Never stop checking.","2026-10-29","\u002Fblog\u002Fstripe-webhook-no-signatures-found\u002Fcard-800x500.png",{"path":940,"title":941,"description":942,"published":943,"category":732,"image":944,"draft":736},"\u002Fblog\u002Fsupabase-invalid-login","\"Invalid login credentials\" in Supabase: the three causes","Supabase says \"Invalid login credentials\" for a wrong password, an unknown email and a Google account. How to tell which, and why it is vague.","2026-10-28","\u002Fblog\u002Fsupabase-invalid-login\u002Fcard-800x500.png",{"path":946,"title":947,"description":948,"published":949,"category":732,"image":950,"draft":736},"\u002Fblog\u002Fedge-function-returned-a-non-2xx-status-code","\"Edge Function returned a non-2xx status code\" in Supabase","\"Edge Function returned a non-2xx status code\" means your Supabase function answered with an error. Here is where to read the real one.","2026-10-27","\u002Fblog\u002Fedge-function-returned-a-non-2xx-status-code\u002Fcard-800x500.png",{"path":952,"title":953,"description":954,"published":955,"category":732,"image":956,"draft":736},"\u002Fblog\u002Fcertificate-not-trusted","Certificate not trusted: the three causes besides expiry","Certificate not trusted, and the date is fine? It names another address, it signed itself, or its chain is missing a link. How to tell which.","2026-10-26","\u002Fblog\u002Fcertificate-not-trusted\u002Fcard-800x500.png",{"path":958,"title":959,"description":960,"published":961,"category":732,"image":962,"draft":736},"\u002Fblog\u002Finvalid-input-syntax-for-type-uuid","Supabase \"invalid input syntax for type uuid\": read the quotes","Supabase \"invalid input syntax for type uuid\" means your app sent something that is not an id. Read the quotes, hold the query, keep the column.","2026-10-25","\u002Fblog\u002Finvalid-input-syntax-for-type-uuid\u002Fcard-800x500.png",{"path":964,"title":965,"description":966,"published":967,"category":732,"image":968,"draft":736},"\u002Fblog\u002Fduplicate-key-value-violates-unique-constraint","Supabase \"duplicate key value violates unique constraint\", explained","Supabase \"duplicate key value violates unique constraint\" means the value is already taken. Find the column, pick a fix, and keep the value off screen.","2026-10-24","\u002Fblog\u002Fduplicate-key-value-violates-unique-constraint\u002Fcard-800x500.png",{"path":970,"title":971,"description":972,"published":973,"category":732,"image":974,"draft":736},"\u002Fblog\u002Fsupabase-relation-does-not-exist","Supabase \"relation does not exist\" when the table is right there","Supabase \"relation does not exist\" or PGRST205 means no table matches the name and schema your query used. Four checks, and what exposing a schema opens.","2026-10-23","\u002Fblog\u002Fsupabase-relation-does-not-exist\u002Fcard-800x500.png",{"path":976,"title":977,"description":978,"published":979,"category":732,"image":980,"draft":736},"\u002Fblog\u002Fsupabase-function-not-found","Supabase PGRST202: \"Could not find the function in the schema cache\"","Supabase \"Could not find the function in the schema cache\" lists the argument names your app sent. Compare them with the function first.","2026-10-22","\u002Fblog\u002Fsupabase-function-not-found\u002Fcard-800x500.png",{"path":185,"title":982,"description":983,"published":984,"category":732,"image":985,"draft":736},"Supabase PGRST204: \"Could not find the column in the schema cache\"","Supabase \"Could not find the column in the schema cache\" usually means a name mismatch. Four checks in order, and the one-line reload.","2026-10-21","\u002Fblog\u002Fsupabase-schema-cache-column-error\u002Fcard-800x500.png",{"path":987,"title":988,"description":989,"published":990,"category":732,"image":991,"draft":736},"\u002Fblog\u002Fsupabase-email-rate-limit-exceeded","Supabase \"Email Rate Limit Exceeded\": two limits, one error code","Supabase \"Email Rate Limit Exceeded\" caps every email your project sends: 2 an hour on the built-in sender. What it counts and how to lift it.","2026-10-20","\u002Fblog\u002Fsupabase-email-rate-limit-exceeded\u002Fcard-800x500.png",{"path":993,"title":994,"description":995,"published":996,"category":732,"image":997,"draft":736},"\u002Fblog\u002Fsupabase-users-logged-out","Supabase \"Invalid Refresh Token: Refresh Token Not Found\": 3 causes","Supabase \"Invalid Refresh Token: Refresh Token Not Found\" logs your users out. Three causes, and how the auth log tells them apart.","2026-10-19","\u002Fblog\u002Fsupabase-users-logged-out\u002Fcard-800x500.png",{"path":999,"title":1000,"description":1001,"published":1002,"category":732,"image":1003,"draft":736},"\u002Fblog\u002Fpermission-denied-for-schema-public","Supabase \"permission denied for schema public\": three causes","Supabase \"permission denied for schema public\" means a missing schema grant. What removed it, and the line that puts it back.","2026-10-18","\u002Fblog\u002Fpermission-denied-for-schema-public\u002Fcard-800x500.png",{"path":1005,"title":1006,"description":1007,"published":1008,"category":732,"image":1009,"draft":736},"\u002Fblog\u002Fsupabase-bucket-not-found","Supabase \"Bucket not found\": the three things it means","Supabase \"Bucket not found\" is one of three things: a public link to a private bucket, a name that is not an exact match, or the wrong project.","2026-10-17","\u002Fblog\u002Fsupabase-bucket-not-found\u002Fcard-800x500.png",{"path":1011,"title":1012,"description":1013,"published":1014,"category":732,"image":1015,"draft":736},"\u002Fblog\u002Fsupabase-invalid-jwt","Supabase invalid JWT: which key stopped working?","A Supabase invalid JWT error is PGRST301, and it means a signed token failed verification. On a newer project that token is your user, not your API key.","2026-10-16","\u002Fblog\u002Fsupabase-invalid-jwt\u002Fcard-800x500.png",{"path":1017,"title":1018,"description":1019,"published":1020,"category":732,"image":1021,"draft":736},"\u002Fblog\u002Fsupabase-single-row-error","Supabase \"multiple (or no) rows returned\" usually means no rows","Supabase returns PGRST116, \"JSON object requested, multiple (or no) rows returned\", when your query found none. A row your rules hide looks missing.","2026-10-15","\u002Fblog\u002Fsupabase-single-row-error\u002Fcard-800x500.png",{"path":309,"title":1023,"description":1024,"published":1025,"category":732,"image":1026,"draft":736},"\"Database error saving new user\" in Supabase: how to fix it","\"Database error saving new user\" means something attached to your Supabase signup failed and it was all rolled back. The real error is in your logs.","2026-10-14","\u002Fblog\u002Fdatabase-error-saving-new-user\u002Fcard-800x500.png",{"path":1028,"title":1029,"description":1030,"published":1031,"category":732,"image":1032,"draft":736},"\u002Fblog\u002Fwhat-is-supabase","What is Supabase? The database your builder picked for you","What is Supabase: the database, login and file storage behind your app. Supabase runs the servers; the rules about who reads your rows are yours.","2026-10-13","\u002Fblog\u002Fwhat-is-supabase\u002Fcard-800x500.png",{"path":1034,"title":1035,"description":1036,"published":1037,"category":732,"image":1038,"draft":736},"\u002Fblog\u002Faws-access-key-exposed-in-frontend","An AWS access key exposed in your frontend is not like an OpenAI key","An AWS access key exposed in your frontend reads and writes your storage. The fix is usually a presigned URL rather than a new key.","2026-10-12","\u002Fblog\u002Faws-access-key-exposed-in-frontend\u002Fcard-800x500.png",{"path":1040,"title":1041,"description":1042,"published":1043,"category":732,"image":1044,"draft":736},"\u002Fblog\u002Fstorage-upload-violates-row-level-security","\"Row-level security policy for table objects\" on upload","\"New row violates row-level security policy for table objects\" means your upload has no insert rule. Making the bucket public does not add one.","2026-10-11","\u002Fblog\u002Fstorage-upload-violates-row-level-security\u002Fcard-800x500.png",{"path":1046,"title":1047,"description":1048,"published":1049,"category":732,"image":1050,"draft":736},"\u002Fblog\u002Fbase44-security-scan","Base44 security scan: the one thing only it can see","The Base44 security scan checks seven kinds of problem from inside your app. Here is the half it reads that nothing outside can, and the half it never looks at.","2026-10-10","\u002Fblog\u002Fbase44-security-scan\u002Fcard-800x500.png",{"path":1052,"title":1053,"description":1054,"published":1055,"category":732,"image":1056,"draft":736},"\u002Fblog\u002Fapi-key-leaked-what-to-do","Your API key leaked. Here is the order to do things in","An API key leaked and you want to know what to do first. Not every key in your frontend is one, and the order matters more than the speed.","2026-10-09","\u002Fblog\u002Fapi-key-leaked-what-to-do\u002Fcard-800x500.png",{"path":1058,"title":1059,"description":1060,"published":1061,"category":732,"image":1062,"draft":736},"\u002Fblog\u002Finfinite-recursion-in-policy-for-relation","\"Infinite recursion detected in policy\" without disabling RLS","\"Infinite recursion detected in policy for relation\" means your Supabase policy asked the table it protects. Here is how to break the circle.","2026-10-08","\u002Fblog\u002Finfinite-recursion-in-policy-for-relation\u002Fcard-800x500.png",{"path":1064,"title":1065,"description":1066,"published":1067,"category":732,"image":1068,"draft":736},"\u002Fblog\u002Fno-api-key-found-in-request","\"No API key found in request\" in Supabase, and the wrong fix","\"No API key found in request\" means your Supabase request arrived without a key. Most answers you find point at your database rules instead.","2026-10-07","\u002Fblog\u002Fno-api-key-found-in-request\u002Fcard-800x500.png",{"path":1070,"title":1071,"description":1072,"published":1073,"category":732,"image":1074,"draft":736},"\u002Fblog\u002Fis-base44-safe","Is Base44 safe? What 5,442 live Base44 apps showed","Is Base44 safe? We ran nine checks on 5,442 live Base44 apps. Almost all scored B for reasons the owner never chose, and one question nobody can answer.","2026-10-06","\u002Fblog\u002Fis-base44-safe\u002Fcard-800x500.png",{"path":1076,"title":1077,"description":1078,"published":1079,"category":732,"image":1080,"draft":736},"\u002Fblog\u002Fmove-a-secret-to-an-edge-function","Hide an API key: move it to a Supabase Edge Function","Hiding an API key means moving it off the browser, and a Supabase Edge Function is the smallest place to put it. Two steps around the move matter more.","2026-10-05","\u002Fblog\u002Fmove-a-secret-to-an-edge-function\u002Fcard-800x500.png",{"path":1082,"title":1083,"description":1084,"published":1085,"category":732,"image":1086,"draft":736},"\u002Fblog\u002Fenv-file-exposed-on-your-server","Is your .env file exposed? The twelve paths to check","Is your .env file exposed on your own web server? Twelve addresses tell you in a minute, and a hit means everything in the file is already public.","2026-10-04","\u002Fblog\u002Fenv-file-exposed-on-your-server\u002Fcard-800x500.png",{"path":1088,"title":1089,"description":1090,"published":1091,"category":732,"image":1092,"draft":736},"\u002Fblog\u002Fis-v0-safe","v0 security: all 1,790 v0 apps we scanned got an A","v0 security, measured on 1,790 live v0 apps: every one graded A. Only 17 named a database, and that is most of what the A is measuring.","2026-10-03","\u002Fblog\u002Fis-v0-safe\u002Fcard-800x500.png",{"path":1094,"title":1095,"description":1096,"published":1097,"category":732,"image":1098,"draft":736},"\u002Fblog\u002Fis-bolt-safe","Is Bolt safe? What 1,123 live Bolt apps showed","Is Bolt safe? We ran nine checks on 1,123 live Bolt apps. The hosting came back clean. The findings were API keys and open tables inside the apps.","2026-10-02","\u002Fblog\u002Fis-bolt-safe\u002Fcard-800x500.png",{"path":1100,"title":1101,"description":1102,"published":1103,"category":732,"image":1104,"draft":736},"\u002Fblog\u002Fis-supabase-down-or-your-app","Is Supabase down, or is it your app? How to tell","Is Supabase down, or is it your app? A paused project, a full database and a bug of your own all look like an outage. Four checks tell them apart.","2026-10-01","\u002Fblog\u002Fis-supabase-down-or-your-app\u002Fcard-800x500.png",{"path":1106,"title":1107,"description":1108,"published":1109,"category":732,"image":1110,"draft":736},"\u002Fblog\u002Fdoes-supabase-encrypt-my-data","Does Supabase encrypt my data? Yes. Here is what it stops","Does Supabase encrypt data? Yes: AES-256 at rest, TLS in transit, SOC 2 and ISO 27001 audited. What each one covers, and the leak none of them stops.","2026-09-30","\u002Fblog\u002Fdoes-supabase-encrypt-my-data\u002Fcard-800x500.png",{"path":1112,"title":1113,"description":1114,"published":1115,"category":732,"image":1116,"draft":736},"\u002Fblog\u002Fsupabase-free-plan-limits","Supabase free plan limits, and what happens at each one","The Supabase free plan limits you to 500 MB of database and 5 GB of egress, with no backups. What happens as you cross each line, and what $25 changes.","2026-09-29","\u002Fblog\u002Fsupabase-free-plan-limits\u002Fcard-800x500.png",{"path":1118,"title":1119,"description":1120,"published":1121,"category":824,"image":1122,"draft":736},"\u002Fblog\u002Ftest-your-supabase-backup","Test your Supabase backup before the day you need it","How to test your Supabase backup: restore it into a spare project, compare the row counts, sign in, and check for the line a cut-off file is missing.","2026-09-28","\u002Fblog\u002Ftest-your-supabase-backup\u002Fcard-800x500.png",{"path":1124,"title":1125,"description":1126,"published":1127,"category":824,"image":1128,"draft":736},"\u002Fblog\u002Fsupabase-backup-github-action","Free Supabase backup with a GitHub Action, and the catch","A Supabase backup GitHub Action costs nothing and suits a lot of apps. The workflow, the connection string that works on GitHub, and the egress each run uses.","2026-09-27","\u002Fblog\u002Fsupabase-backup-github-action\u002Fcard-800x500.png",{"path":1130,"title":1131,"description":1132,"published":1133,"category":824,"image":1134,"draft":736},"\u002Fblog\u002Fdownload-your-supabase-backup","Why you can't download your Supabase backup","You can't download your Supabase backup on a current project, because the daily copy is a physical snapshot. How to tell, and how to hold a copy of your own.","2026-09-26","\u002Fblog\u002Fdownload-your-supabase-backup\u002Fcard-800x500.png",{"path":455,"title":1136,"description":1137,"published":1133,"category":732,"image":1138,"draft":736},"Supabase \"permission denied for table\": the missing grant","From October 30, a new Supabase table answers \"permission denied for table\" until you grant access. The grant the email shows is half the fix.","\u002Fblog\u002Fsupabase-permission-denied-for-table\u002Fcard-800x500.png",{"path":1140,"title":1141,"description":1142,"published":1143,"category":732,"image":1144,"draft":736},"\u002Fblog\u002Fopen-api-endpoint-exposed","Is an open API endpoint a security problem? Look at the JSON","Your scan flagged an open API endpoint. Whether it matters depends on what came back, and most of the ones we found were the platform's own.","2026-09-25","\u002Fblog\u002Fopen-api-endpoint-exposed\u002Fcard-800x500.png",{"path":1146,"title":1147,"description":1148,"published":1149,"category":732,"image":1150,"draft":736},"\u002Fblog\u002Flovable-security-scan","Lovable security scan: the one thing it cannot prove","Lovable security scan: what the Quick and Deep scans check, when each one runs, and the one thing no scan from inside your project can prove.","2026-09-24","\u002Fblog\u002Flovable-security-scan\u002Fcard-800x500.png",{"path":1152,"title":1153,"description":1154,"published":1155,"category":824,"image":1156,"draft":736},"\u002Fblog\u002Fsupabase-backup-auth-users","Why your Supabase dump has no users in it","Run supabase db dump on its own and you get the shape of your database and none of its rows, with the auth schema your users live in left out entirely.","2026-09-23","\u002Fblog\u002Fsupabase-backup-auth-users\u002Fcard-800x500.png",{"path":1158,"title":1159,"description":1160,"published":1161,"category":732,"image":1162,"draft":736},"\u002Fblog\u002Fdomain-and-certificate-expiry","Domain expired, website down: what actually happens next","Your domain expired and your website is down. Here is the clock you are on, why a lapsed certificate is the easier of the two, and how to check both.","2026-09-22","\u002Fblog\u002Fdomain-and-certificate-expiry\u002Fcard-800x500.png",{"path":1164,"title":1165,"description":1166,"published":1167,"category":732,"image":1168,"draft":736},"\u002Fblog\u002Fis-lovable-safe","Is Lovable safe? What 18,554 live Lovable apps showed","Is Lovable safe? We ran nine checks on 18,554 live Lovable apps. The platform was the cleanest of five builders. Every finding was inside the app itself.","2026-09-21","\u002Fblog\u002Fis-lovable-safe\u002Fcard-800x500.png",{"path":1170,"title":1171,"description":1172,"published":1173,"category":732,"image":1174,"draft":736},"\u002Fblog\u002Fvibe-coded-app-security-checklist","The vibe coding security checklist, in nine checks","A vibe coding security checklist with nine items, each one something anyone can verify about your live app from outside, and each with a one-line test.","2026-09-20","\u002Fblog\u002Fvibe-coded-app-security-checklist\u002Fcard-800x500.png",{"path":1176,"title":1177,"description":1178,"published":1179,"category":732,"image":1180,"draft":736},"\u002Fblog\u002Fstripe-secret-key-in-frontend","A Stripe secret key exposed in your frontend can move money","A Stripe secret key exposed in your frontend can refund, charge and read every customer record you hold. Your pk_live_ key is meant to be there.","2026-09-19","\u002Fblog\u002Fstripe-secret-key-in-frontend\u002Fcard-800x500.png",{"path":1182,"title":1183,"description":1184,"published":1185,"category":732,"image":1186,"draft":736},"\u002Fblog\u002Fvite-and-next-public-env-vars","Vite env variables exposed: VITE_ and NEXT_PUBLIC_ mean publish this","Vite env variables exposed in your app did what the prefix asked. VITE_ and NEXT_PUBLIC_ mean publish this, and the AI that added one never knew the cost.","2026-09-18","\u002Fblog\u002Fvite-and-next-public-env-vars\u002Fcard-800x500.png",{"path":1188,"title":1189,"description":1190,"published":1191,"category":732,"image":1192,"draft":736},"\u002Fblog\u002Fbase44-source-maps","Base44 security: what a scan flags, and what is yours to fix","Base44 security on 5,438 scanned apps: three findings on nearly every one are the platform's, the source map is Base44's badge, and what is yours is short.","2026-09-17","\u002Fblog\u002Fbase44-source-maps\u002Fcard-800x500.png",{"path":1194,"title":1195,"description":1196,"published":1197,"category":732,"image":1198,"draft":736},"\u002Fblog\u002Fis-cursor-ai-safe","Is Cursor AI safe? The editor, the code, and the app you shipped","Is Cursor AI safe? Three questions in one search: what Cursor keeps, what the code it writes gets wrong, and whether the app you shipped is open.","2026-09-16","\u002Fblog\u002Fis-cursor-ai-safe\u002Fcard-800x500.png",{"path":1200,"title":1201,"description":1202,"published":1203,"category":732,"image":1204,"draft":736},"\u002Fblog\u002Fis-replit-safe","Is Replit safe? What we found in 3,042 live Replit apps","Is Replit safe? We ran nine external checks on 3,042 live Replit apps. The host was not where the findings were. The app each owner published was.","2026-09-15","\u002Fblog\u002Fis-replit-safe\u002Fcard-800x500.png",{"path":1206,"title":1207,"description":1208,"published":1209,"category":824,"image":1210,"draft":736},"\u002Fblog\u002Fsupabase-storage-backup","Supabase storage backup: why your database copy has no files","A Supabase storage backup is a separate job. Database backups keep the list of your files and none of the files, so a restore leaves every upload broken.","2026-09-14","\u002Fblog\u002Fsupabase-storage-backup\u002Fcard-800x500.png",{"path":1212,"title":1213,"description":1214,"published":1215,"category":824,"image":1216,"draft":736},"\u002Fblog\u002Fsupabase-point-in-time-recovery","Supabase point-in-time recovery: what it costs, what it misses","Supabase point-in-time recovery rewinds your database to any second in the last week. It costs $100 a month on top of Pro, and it covers your database only.","2026-09-13","\u002Fblog\u002Fsupabase-point-in-time-recovery\u002Fcard-800x500.png",{"path":1218,"title":1219,"description":1220,"published":1221,"category":824,"image":1222,"draft":736},"\u002Fblog\u002Fsupabase-project-paused-recover","Supabase project paused? Your data is still there","Supabase paused your project after a week of inactivity. Nothing is deleted, Restore sits beside the project name, and you have a year before that changes.","2026-09-12","\u002Fblog\u002Fsupabase-project-paused-recover\u002Fcard-800x500.png",{"path":1224,"title":1225,"description":1226,"published":1227,"category":732,"image":1228,"draft":736},"\u002Fblog\u002Fsafest-ai-app-builder","Which AI app builder is safest? We scanned 30,998 apps","Which AI app builder is safest? We scanned 30,998 live apps from Lovable, Base44, Replit, v0 and Bolt. The builder is not what decides your grade.","2026-09-11","\u002Fblog\u002Fsafest-ai-app-builder\u002Fcard-800x500.png",{"path":578,"title":1230,"description":1231,"published":1232,"category":732,"image":1233,"draft":736},"Enable Row Level Security on every Supabase table, then prove it","Enabling Row Level Security in Supabase with no policy locks a table completely. A policy without the setting does nothing. Here is the SQL, and the test.","2026-09-10","\u002Fblog\u002Fenable-rls-on-every-supabase-table\u002Fcard-800x500.png",{"path":1235,"title":1236,"description":1237,"published":1238,"category":732,"image":1239,"draft":736},"\u002Fblog\u002Fsupabase-rls-disabled-in-public","Supabase \"RLS disabled in public\": what the warning misses","Supabase reports \"RLS disabled in public\" as an error. It says nothing about the read policy that leaves your table just as open to strangers.","2026-09-09","\u002Fblog\u002Fsupabase-rls-disabled-in-public\u002Fcard-800x500.png",{"path":1241,"title":1242,"description":1243,"published":1244,"category":732,"image":1245,"draft":736},"\u002Fblog\u002Frotate-supabase-service-role-key","How to rotate a leaked Supabase service_role key","Supabase says fix the leak first. Other guides say rotate now. Which is right depends on where your service_role key leaked.","2026-09-08","\u002Fblog\u002Frotate-supabase-service-role-key\u002Fcard-800x500.png",{"path":1247,"title":1248,"description":1249,"published":1250,"category":732,"image":1251,"draft":736},"\u002Fblog\u002Fvibe-coding-security-scanners-compared","Vibe coding security scanners compared, including ours","The best vibe coding security scanner comes down to three questions no feature list answers. Eight tools compared, with prices, and the jobs Reeve does not do.","2026-09-07","\u002Fblog\u002Fvibe-coding-security-scanners-compared\u002Fcard-800x500.png",{"path":1253,"title":1254,"description":1255,"published":1256,"category":732,"image":1257,"draft":736},"\u002Fblog\u002Fsupabase-security-checker","Supabase security checker: run the five checks yourself","A Supabase security checker reads your published app instead of your project settings. Here are the five checks it runs, and how to run each one yourself.","2026-09-06","\u002Fblog\u002Fsupabase-security-checker\u002Fcard-800x500.png",{"path":1259,"title":1260,"description":1261,"published":1262,"category":732,"image":1263,"draft":736},"\u002Fblog\u002Fvibe-coding-security-scanner","Vibe coding security scanner: what a URL scan misses","A vibe coding security scanner reads your live app from outside. Here is what that covers, the four things it cannot see, and how to read the result.","2026-09-05","\u002Fblog\u002Fvibe-coding-security-scanner\u002Fcard-800x500.png",{"path":1265,"title":1266,"description":1267,"published":1268,"category":732,"image":1269,"draft":736},"\u002Fblog\u002Fmissing-security-headers","Missing security headers: when it actually matters","Missing security headers is the finding our scanner prints most. Here is what it protects against, and when it is the least urgent line on your report.","2026-09-04","\u002Fblog\u002Fmissing-security-headers\u002Fcard-800x500.png",{"path":1271,"title":1272,"description":1273,"published":1274,"category":732,"image":1275,"draft":736},"\u002Fblog\u002Fopenai-api-key-exposed-in-frontend","Your OpenAI API key is exposed in your frontend. Rotate it.","An OpenAI API key exposed in your frontend cannot be locked to a domain. Rotate it today, move the call behind your own endpoint, and cap the spend.","2026-09-03","\u002Fblog\u002Fopenai-api-key-exposed-in-frontend\u002Fcard-800x500.png",{"path":1277,"title":1278,"description":1279,"published":1280,"category":732,"image":1281,"draft":736},"\u002Fblog\u002Fwhat-secrets-leak-from-vibe-coded-apps","An API key exposed in your frontend: what 30,998 apps shipped","An API key exposed in your frontend is usually a Google Maps key. We scanned 30,998 live vibe-coded apps and counted which secrets actually leak.","2026-09-02","\u002Fblog\u002Fwhat-secrets-leak-from-vibe-coded-apps\u002Fcard-800x500.png",{"path":1283,"title":1284,"description":1285,"published":1286,"category":824,"image":1287,"draft":736},"\u002Fblog\u002Fsupabase-backup-tools-compared","Supabase backup tools compared, including ours","Four kinds of Supabase backup tool, what each one actually copies, and the case where a free GitHub Action beats paying anyone, us included.","2026-09-01","\u002Fblog\u002Fsupabase-backup-tools-compared\u002Fcard-800x500.png",{"path":1289,"title":1290,"description":1291,"published":1292,"category":732,"image":1293,"draft":736},"\u002Fblog\u002Freplit-secrets-explained","How to use secrets in Replit, and what still gets published","How to use secrets in Replit: add one, read it back, and fix the two reasons it comes back undefined. Plus the keys the Secrets tool cannot keep private.","2026-08-31","\u002Fblog\u002Freplit-secrets-explained\u002Fcard-800x500.png",{"path":1295,"title":1296,"description":1297,"published":1298,"category":824,"image":1299,"draft":736},"\u002Fblog\u002Fback-up-supabase-free-tier","Supabase free tier backups: how to make one without a terminal","There are no Supabase free tier backups, so the copy has to come from you. How to make one from the dashboard, and what CSV leaves out.","2026-08-30","\u002Fblog\u002Fback-up-supabase-free-tier\u002Fcard-800x500.png",{"path":1301,"title":1302,"description":1303,"published":1304,"category":732,"image":1305,"draft":736},"\u002Fblog\u002Fis-supabase-secure","Is Supabase secure? Yes. Your project is a separate question","Is Supabase secure? The platform is audited, encrypted and pen-tested. Their own compliance documents say where that stops and your settings begin.","2026-08-29","\u002Fblog\u002Fis-supabase-secure\u002Fcard-800x500.png",{"path":1307,"title":1308,"description":1309,"published":1310,"category":732,"image":1311,"draft":736},"\u002Fblog\u002Fwhere-to-find-supabase-api-keys","Where to find your Supabase URL, publishable and secret keys","Your Supabase project URL, anon key and service_role key are on one dashboard page. Here is where that page is, and which of the four belongs in your app.","2026-08-28","\u002Fblog\u002Fwhere-to-find-supabase-api-keys\u002Fcard-800x500.png",{"path":1313,"title":1314,"description":1315,"published":1316,"category":732,"image":1317,"draft":736},"\u002Fblog\u002Fnew-row-violates-row-level-security-policy","New row violates row-level security policy in Supabase. Now what?","\"New row violates row-level security policy\" means Supabase refused a write. The fix that clears it in ten seconds also reopens the table to everyone.","2026-08-27","\u002Fblog\u002Fnew-row-violates-row-level-security-policy\u002Fcard-800x500.png",{"path":1319,"title":1320,"description":1321,"published":1322,"category":732,"image":1323,"draft":736},"\u002Fblog\u002Fcors-wildcard-security-risk","Is a CORS wildcard a security risk? Usually not.","Is a CORS wildcard a security risk? Usually it is your builder default, and it gives away nothing your server was not already handing to anyone who asked.","2026-08-26","\u002Fblog\u002Fcors-wildcard-security-risk\u002Fcard-800x500.png",{"path":1325,"title":1326,"description":1327,"published":1328,"category":824,"image":1329,"draft":736},"\u002Fblog\u002Fsupabase-branching-is-not-a-backup","Supabase branching is not a backup. It only goes forwards.","Supabase branching is not a backup: a branch starts with none of your data, and merging only moves schema. What it is for, and what to use instead.","2026-08-25","\u002Fblog\u002Fsupabase-branching-is-not-a-backup\u002Fcard-800x500.png",{"path":1331,"title":1332,"description":1333,"published":1334,"category":824,"image":1335,"draft":736},"\u002Fblog\u002Fhow-to-restore-a-supabase-backup","How to restore a Supabase backup, and what breaks after","How to restore a Supabase backup from the dashboard or from a dump file, what the restore replaces, and why your app can still be broken when it finishes.","2026-08-24","\u002Fblog\u002Fhow-to-restore-a-supabase-backup\u002Fcard-800x500.png",{"path":1337,"title":1338,"description":1339,"published":1340,"category":732,"image":1341,"draft":736},"\u002Fblog\u002Fsupabase-storage-bucket-public","Your Supabase storage bucket is public. Is that a problem?","A public Supabase storage bucket means anyone with a file URL can open it. It does not mean anyone can list what is in there. Two different settings.","2026-08-23","\u002Fblog\u002Fsupabase-storage-bucket-public\u002Fcard-800x500.png",{"path":1343,"title":1344,"description":1345,"published":1346,"category":732,"image":1347,"draft":736},"\u002Fblog\u002Fgoogle-api-key-exposed-in-frontend","Is a Google API key exposed in your frontend a problem?","A Google API key exposed in your frontend is the key our scanner finds most often, and usually it is fine. One free setting decides which it is.","2026-08-22","\u002Fblog\u002Fgoogle-api-key-exposed-in-frontend\u002Fcard-800x500.png",{"path":1349,"title":1350,"description":1351,"published":1352,"category":824,"image":1353,"draft":736},"\u002Fblog\u002Fai-agent-deleted-my-database","An AI agent deleted my Supabase data. What can I recover?","An AI agent deleted your database data. What you can recover was decided before it ran, and the next few minutes decide how much of it survives.","2026-08-21","\u002Fblog\u002Fai-agent-deleted-my-database\u002Fcard-800x500.png",{"path":583,"title":1355,"description":1356,"published":1357,"category":732,"image":1358,"draft":736},"Can anyone read your Supabase database? We checked 3,680 apps","Can anyone read your Supabase database without logging in? We scanned 30,998 live apps built with AI builders and measured how often the answer is yes.","2026-08-18","\u002Fblog\u002Fcan-anyone-read-your-supabase-database\u002Fcard-800x500.png",{"path":1360,"title":1361,"description":1362,"published":1357,"category":732,"image":1363,"draft":736},"\u002Fblog\u002Fsource-maps-exposed-in-production","Source maps exposed: your app is publishing its original code","An exposed source map lets anyone read your app's original code, comments included. The 30-second check, and what actually matters if yours are public.","\u002Fblog\u002Fsource-maps-exposed-in-production\u002Fcard-800x500.png",{"path":1365,"title":1366,"description":1367,"published":1368,"category":732,"image":1369,"draft":736},"\u002Fblog\u002Fsupabase-new-api-keys","Supabase publishable key: is it the same as the anon key?","Supabase replaced anon and service_role with publishable and secret keys. Which one belongs in your app, and which never does?","2026-08-12","\u002Fblog\u002Fsupabase-new-api-keys\u002Fcard-800x500.png",{"path":1371,"title":1372,"description":1373,"published":1374,"category":824,"image":1375,"draft":736},"\u002Fblog\u002Fdoes-supabase-back-up-my-database","Does Supabase back up my database? It depends on your plan.","Does Supabase back up your database? Daily on paid plans, and not at all on the free one. How to check which you have, and what that copy cannot survive.","2026-08-11","\u002Fblog\u002Fdoes-supabase-back-up-my-database\u002Fcard-800x500.png",{"path":1377,"title":1378,"description":1379,"published":1380,"category":732,"image":1381,"draft":736},"\u002Fblog\u002Fsupabase-rls-on-but-table-still-public","Supabase Row Level Security is on. Your table is still public.","Turning on Supabase Row Level Security does not protect a table. Your policies do, and the policy that fixed your broken app may let everyone in.","2026-08-10","\u002Fblog\u002Fsupabase-rls-on-but-table-still-public\u002Fcard-800x500.png",{"path":1383,"title":1384,"description":1385,"published":1380,"category":824,"image":1386,"draft":736},"\u002Fblog\u002Fversion-history-is-not-a-backup","Version history is not a backup. It cannot undo a deleted table.","Lovable and Bolt keep version history for your code. Your database is a separate service, so rolling back to this morning does not bring your data back.","\u002Fblog\u002Fversion-history-is-not-a-backup\u002Fcard-800x500.png",{"path":1388,"title":1389,"description":1390,"published":1391,"category":824,"image":1392,"draft":736},"\u002Fblog\u002Fthree-ways-to-back-up-a-supabase-database","Three ways to back up a Supabase database, and what each misses","The dashboard, pg_dump, and a managed service. What each one actually saves, what it quietly leaves out, and which one survives losing the account.","2026-08-09","\u002Fblog\u002Fthree-ways-to-back-up-a-supabase-database\u002Fcard-800x500.png",{"path":460,"title":1394,"description":1395,"published":1391,"category":732,"image":1396,"draft":736},"Which API keys are safe in your frontend, and which aren't","Your Supabase anon key is supposed to be public. Your service_role key is not, and it ignores every rule you set. Here is how to tell them apart.","\u002Fblog\u002Fwhich-api-keys-are-safe-in-your-frontend\u002Fcard-800x500.png",1795595685468]