Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload fails - file metadata is missing in GCS #521

Open
sumit-rd opened this issue Nov 29, 2023 · 0 comments
Open

Upload fails - file metadata is missing in GCS #521

sumit-rd opened this issue Nov 29, 2023 · 0 comments

Comments

@sumit-rd
Copy link

sumit-rd commented Nov 29, 2023

I have react application in production (tus node server with tus gcs store) with many active users.
From time to time my server is being reset from error I get from tus, due to file metadata is missing.
The error is:

            /node_modules/@tus/gcs-store/dist/index.js:130
            const { size, metadata: meta } = metadata.metadata;
                    ^
            TypeError: Cannot destructure property 'size' of 'metadata.metadata' as it is undefined.

I can’t find a way to reproduce it, and therefore I cant find a way to fix it.
I also couldn’t find a way to catch this error and prevent the reset.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant