Skip to content

lovable issue #149

@jackteck96

Description

@jackteck96

Hi! 👋

I’m building a document management platform using Lovable + Supabase.

The idea is:

A company (or lawyer) creates a new documentation process and sends an invite link to a client

When the client opens the link, they should see:

The company name,

The process title,

A list of required documents,

And upload fields for each document.

The issue is that, on the client side, no data is being displayed.
The page shows “Error loading requested documents” and sometimes “Invalid token.”

Everything works fine on the company side — it creates the process, sends the invite, etc.
But on the client invite page, the system can’t seem to fetch the data from Supabase.

Could this be related to how the invite token is being validated or to RLS (Row Level Security) policies?
Any idea how to fix this or properly fetch the process and document data linked to the invite token?

Thanks a lot! 🙏

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions