ForeignTableMissingVaultKeyError() — supabase Function Reference
Architecture documentation for the ForeignTableMissingVaultKeyError() function in GridError.tsx from the supabase codebase.
Entity Profile
Relationship Graph
Source Code
apps/studio/components/grid/components/grid/GridError.tsx lines 58–86
const ForeignTableMissingVaultKeyError = () => {
const { ref } = useParams()
const { data: project } = useSelectedProjectQuery()
const isBranch = project?.parent_project_ref !== undefined
return (
<Admonition
type="warning"
className="pointer-events-auto"
title="Failed to retrieve rows from foreign table"
>
<p>
The key that's used to retrieve data from your foreign table is either incorrect or missing.
Verify the key in your{' '}
<InlineLink href={`/project/${ref}/integrations?category=wrapper`}>
wrapper's settings
</InlineLink>{' '}
or in <InlineLink href={`/project/${ref}/integrations/vault/overview`}>Vault</InlineLink>.
</p>
{isBranch && (
<p>
Note: Vault keys from the main project do not sync to branches. You may add them manually
into <InlineLink href={`/project/${ref}/integrations/vault/overview`}>Vault</InlineLink>{' '}
if you want to query foreign tables while on a branch.
</p>
)}
</Admonition>
)
}
Domain
Subdomains
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free