Skip to content

Backend query on a widget doesn't handle !DocumentExists #7232

Description

@rmcjst

Can we access your project?

  • I give permission for members of the FlutterFlow team to access and test my project for the sole purpose of investigating this issue.

Current Behavior

Backend query on a widget (Document Grom Ref) doesn't handle !DocumentExists. If document doesn't exist loader.

Expected Behavior

Id document doesn't exist widget DocumentExists should be False (same way in the case of using Query single doc from collection). Like example show:

  • problematic query,
  • good query.
    (both try to do same thing, former badly, latter successfully)
Image

Steps to Reproduce

1 On a page
2 create widget with a backend query
3 try to query "get Doc from Ref" and "query from Collection - Single Doc"

Reproducible from Blank

  • The steps to reproduce above start from a blank project.

Bug Report Code (Required)

IT48ls/l6otPxdtH17qBYMdB/TgWOUs7apEw0OwaSUg8KOvLBIYuP/XsQFtWUsPnYGw/eUSmmnMD+N70koThLPU3EwusfNxyws9MEwHNcHmRUZOBPM3tX0ckEe5bFUuB0Z+JnR1CVPVYSHwj3E6Eeu+UcBfDJoz2IlFISq/LZO4=

Visual documentation

Image Image

Environment

- FlutterFlow version: v7.0.12 (19. June 2026)
- Platform: Web /test
- Browser name and version: Chrome, Version 149.0.7827.115 (Official Build) (64-bit)
- Operating system and version affected: Win 11

Additional Information

It is problematic as app in dev uses direct "get from Doc Ref" many times, and if I am not sure it won't break, no-go.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions