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
Error [TypeError]: Cannot destructure property 'ETag' of 'data' as it is undefined.
at /workdir/node_modules/@fleekhq/fleek-storage-js/utils/stream-upload.js:17:13
at ManagedUpload.callback (/workdir/node_modules/s3-streaming-upload/src/index.js:70:7)
at ManagedUpload.cleanup (/workdir/node_modules/aws-sdk/lib/s3/managed_upload.js:635:10)
at Response. (/workdir/node_modules/aws-sdk/lib/s3/managed_upload.js:572:28)
at Request. (/workdir/node_modules/aws-sdk/lib/request.js:367:18)
at Request.callListeners (/workdir/node_modules/aws-sdk/lib/sequential_executor.js:106:20)
at Request.emit (/workdir/node_modules/aws-sdk/lib/sequential_executor.js:78:10)
at Request.emit (/workdir/node_modules/aws-sdk/lib/request.js:686:14)
at Request.transition (/workdir/node_modules/aws-sdk/lib/request.js:22:10)
at AcceptorStateMachine.runTo (/workdir/node_modules/aws-sdk/lib/state_machine.js:14:12) {
code: 'TypeError',
time: 2022-06-23T13:06:11.242Z
}`
The text was updated successfully, but these errors were encountered:
my code:
https://github.com/Aiaminm/fake123/blob/main/content/fleekupload.js
When some network error occurs, even using try catch error will cause the program to stop
`/workdir/node_modules/aws-sdk/lib/request.js:31
throw err;
^
Error [TypeError]: Cannot destructure property 'ETag' of 'data' as it is undefined.
at /workdir/node_modules/@fleekhq/fleek-storage-js/utils/stream-upload.js:17:13
at ManagedUpload.callback (/workdir/node_modules/s3-streaming-upload/src/index.js:70:7)
at ManagedUpload.cleanup (/workdir/node_modules/aws-sdk/lib/s3/managed_upload.js:635:10)
at Response. (/workdir/node_modules/aws-sdk/lib/s3/managed_upload.js:572:28)
at Request. (/workdir/node_modules/aws-sdk/lib/request.js:367:18)
at Request.callListeners (/workdir/node_modules/aws-sdk/lib/sequential_executor.js:106:20)
at Request.emit (/workdir/node_modules/aws-sdk/lib/sequential_executor.js:78:10)
at Request.emit (/workdir/node_modules/aws-sdk/lib/request.js:686:14)
at Request.transition (/workdir/node_modules/aws-sdk/lib/request.js:22:10)
at AcceptorStateMachine.runTo (/workdir/node_modules/aws-sdk/lib/state_machine.js:14:12) {
code: 'TypeError',
time: 2022-06-23T13:06:11.242Z
}`
The text was updated successfully, but these errors were encountered: