Home / Function/ InvalidSyntaxError() — supabase Function Reference

InvalidSyntaxError() — supabase Function Reference

Architecture documentation for the InvalidSyntaxError() function in GridError.tsx from the supabase codebase.

Entity Profile

Relationship Graph

Source Code

apps/studio/components/grid/components/grid/GridError.tsx lines 88–113

const InvalidSyntaxError = ({ error }: { error: ResponseError }) => {
  const { onApplyFilters } = useTableFilter()

  return (
    <Admonition
      type="warning"
      className="pointer-events-auto"
      title="Invalid input syntax provided in filter value(s)"
    >
      <p className="!mb-0">
        Unable to retrieve results as the provided value in your filter(s) doesn't match it's column
        data type.
      </p>
      <p className="!mb-2">
        Verify that your filter values are correct before applying the filters again.
      </p>
      <p className="text-sm text-foreground-lighter prose max-w-full !mb-4">
        Error: <code className="text-code-inline">{error.message}</code>
      </p>

      <Button type="default" onClick={() => onApplyFilters([])}>
        Remove filters
      </Button>
    </Admonition>
  )
}

Subdomains

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free