Skip to content
This repository was archived by the owner on Oct 9, 2025. It is now read-only.
This repository was archived by the owner on Oct 9, 2025. It is now read-only.

Upload function does not return file ID #170

@bombillazo

Description

@bombillazo

Bug report

  • I confirm this is a bug with Supabase, not with my own application.
  • I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug

Currently, only part of the path (not including the bucket) of the uploaded file is returned even though the API returns both the ID and full path of the file: source

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

Call the upload function from the client, which internally uses uploadOrUpdate and the response will not include the id of the uploaded file. The direct API does return the id.

Expected behavior

Developers get back the id of the file uploaded.

System information

  • Version of supabase-js: 2.26.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions