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

Error missing string: timedOut #2459

Closed
kode-ninja opened this issue Aug 13, 2020 · 1 comment
Closed

Error missing string: timedOut #2459

kode-ninja opened this issue Aug 13, 2020 · 1 comment
Assignees
Labels
AWS S3 Plugin that handles uploads to Amazon AWS S3 Bug

Comments

@kode-ninja
Copy link
Contributor

Got the above error with the following stack trace.
Happened right after sending PUT request to GCS with a signed URL.

Error: missing string: timedOut
  at translateArray(./node_modules/@uppy/utils/lib/Translator.js:146:13)
  at i18n(./node_modules/@uppy/utils/lib/Translator.js:133:17)
  at apply(./node_modules/@uppy/aws-s3/lib/MiniXHRUpload.js:172:38)
  at r(./node_modules/@sentry/browser/esm/helpers.js:71:23)

"@uppy/aws-s3": "^1.6.9",
"@uppy/core": "^1.13.0",
"@uppy/dashboard": "^1.12.3",
"@uppy/dropbox": "^1.4.11",
"@uppy/google-drive": "^1.5.11",
"@uppy/react": "^1.10.3",
"@uppy/url": "^1.5.10",
"@uppy/xhr-upload": "^1.6.3",

@goto-bus-stop
Copy link
Contributor

Thanks for the report! For now you can work around it by setting a timedOut string in @uppy/core:

new Uppy({
  locale: {
    strings: {
      timedOut: 'Upload stalled for %{seconds} seconds, aborting.'
    }
  }
})

Or by using any of the @uppy/locales translations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AWS S3 Plugin that handles uploads to Amazon AWS S3 Bug
Projects
None yet
Development

No branches or pull requests

2 participants