---
title: "Discussion on \"Supabase RLS Returns [] Instead of an Error: 6 Policy Mistakes Behind \"Missing\" Rows\" | Hashnode"
description: "Discussion on \"Supabase RLS Returns [] Instead of an Error: 6 Policy Mistakes Behind \"Missing\" Rows\". Why your query works in the SQL editor, returns an empty array from the client, and how to test policies as a real user"
url: "https://hashnode.com/posts/supabase-rls-returns-instead-of-an-error-6-policy-mistakes-behind-missing-rows/6acf1281c581fd49a5e16177"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Supabase RLS Returns \[\] Instead of an Error: 6 Policy Mistakes Behind "Missing" Rows](https://ankitkhoiwal.hashnode.dev/supabase-rls-returns-instead-of-an-error-6-policy-mistakes-behind-missing-rows?utm_source=hashnode&utm_medium=feed)

Why your query works in the SQL editor, returns an empty array from the client, and how to test policies as a real user

Oct 14 · 8 min read · ankitkhoiwal.hashnode.dev  
Read the article

-   [#supabase](https://hashnode.com/tag/supabase)
-   [#postgresql](https://hashnode.com/tag/postgresql)
-   [#security](https://hashnode.com/tag/security)
-   [#webdev](https://hashnode.com/tag/webdev)
-   [#backend](https://hashnode.com/tag/backend)

## Written by

[Blogs World](https://hashnode.com/@blogs-world)

@blogs-world

  
[View profile](https://hashnode.com/@blogs-world)

Beyond the code, a story

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
