> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sifr.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# SIFR-SQL-0006: Query effect is not permitted by this SQL API.

> Query effect is not permitted by this SQL API.

`SIFR-SQL-0006` belongs to the **Common SQL contracts** diagnostic family. It means: query effect is not permitted by this SQL API.

## Why It Happens

A database type, parameter, codec, result shape, effect, provider response, or handle violates the provider-neutral SQL contract.

<Info>
  Use `sifr --explain SIFR-SQL-0006` locally to see the renderer's exact message template and any machine-applicable suggestions for the compiler version you are running.
</Info>

## Details

| Field | Value |
| - | - |
| Code | `SIFR-SQL-0006` |
| Family | `SQL` |
| Severity | Error |
| Stability | stable |
| Owner | `sifr_sql_contract::effect` |
| Representative fixture | `crates/sifr_sql_contract/tests/common_sql_contracts.rs` |

See the [Error Codes index](/diagnostics/error-codes) for the complete catalog.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.