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
I got a question concerning the multi part upload for a custom backend client and hope someone here can help.
I want to assemble the user uploaded parts in the zenko cloudserver and send them to my backend as one file. Sadly I am getting an error creating the filteredPartsObj in the completeMPU method. The issue is, that the storedParts array in the mdInfo object, passed to my completeMPU method is empty. The jsonList object passed to my completeMPU contains the uploaded parts ETag and part number correctly.
I am able to assemble the parts in the completeMPU method and send them to my backend. But I am still getting an error because the storedParts could not be found and the zenko cloudserver can't complete correctly.
This is the the printed filteredPartsObj after calling myfilteredPartsObj = validateAndFilterMpuParts(storedParts.Contents, jsonList, mpuOverviewKey, splitter, log); in my completeMPU method (see below): {"partList":[],"error":{"code":400,"description":"One or more of the specified parts could not be found. The part might not have been uploaded, or the specified entity tag might not have matched the part's entity tag.","InvalidPart":true}}
Am I missing something? Are the storedParts retrieved from the ShadowBucket? If so, what exactly is stored in the ShadowBucket and do i need to write to it myself or is the ShadowBucket completely handled by the existing logic of the zenko cloudserver?
Hope someone can help. Thanks in advance! :)
Kind regards
Lukas
The text was updated successfully, but these errors were encountered:
Hey,
I got a question concerning the multi part upload for a custom backend client and hope someone here can help.
I want to assemble the user uploaded parts in the zenko cloudserver and send them to my backend as one file. Sadly I am getting an error creating the filteredPartsObj in the completeMPU method. The issue is, that the storedParts array in the mdInfo object, passed to my completeMPU method is empty. The jsonList object passed to my completeMPU contains the uploaded parts ETag and part number correctly.
I am able to assemble the parts in the completeMPU method and send them to my backend. But I am still getting an error because the storedParts could not be found and the zenko cloudserver can't complete correctly.
This is the the printed filteredPartsObj after calling
myfilteredPartsObj = validateAndFilterMpuParts(storedParts.Contents, jsonList, mpuOverviewKey, splitter, log);
in my completeMPU method (see below):{"partList":[],"error":{"code":400,"description":"One or more of the specified parts could not be found. The part might not have been uploaded, or the specified entity tag might not have matched the part's entity tag.","InvalidPart":true}}
My clients uploadPart method:
My clients completeMPU method:
Am I missing something? Are the storedParts retrieved from the ShadowBucket? If so, what exactly is stored in the ShadowBucket and do i need to write to it myself or is the ShadowBucket completely handled by the existing logic of the zenko cloudserver?
Hope someone can help. Thanks in advance! :)
Kind regards
Lukas
The text was updated successfully, but these errors were encountered: