You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Missing object_id in resumable uploads response using TUS #647
When uploading using the tus-js-client just as described here, the final response given in the onSuccess payload doesn't contain any information on the object just uploaded. It only sends a status code of 201.
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
Data related to the newly created object should be sent along side the final response. Primarily, I need the object_id as that will allow me to interconnect that object with the rest of my database. As of right now, the only way to get the object_id is to do a follow up .list() request with the search parameter set to the name of the uploaded file (as you can imagine this is very finicky).
Screenshots
As can be seen in this screenshot, all of the response data is empty.
Activity
major-winter commentedon Apr 17, 2025
This feels more like a potential enhancement than a bug, in my opinion.
fenos commentedon Sep 26, 2025
Yes! we could send the object_id back via a header like the upload-id. totally a legit enhancement
feat(tus): return created object id via X-Supabase-Object-Id response…
feat(tus): object id in Supabase-Object-Id response header (#1500)