Hi,
I'm trying to troubleshoot an issue with uploading/updating files into a shared folder via the REST API. I can perform all of the other operations around a folder. However, when I try to upload a file to a folder at first it appears to have worked but the resulting file is always 0 bytes in size in BlazeMeter.
Example of request to get signed url:
Request to upload a file:
(I've removed a few identifiers from the signed URL)
curl "https://storage.blazemeter.com/blazemeter-gcp/organizations/<org_id>/shared/test_folder/reporting.yml?x-amz-acl=private&x-amz-server-side-encryption=AES256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EE7F7ZECFQG2AMFT47JPCFCTXTGEW52TQE7AA2Y6DS4SCW37UO4ZSCNI%2F20211016%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20211016T223736Z&X-Amz-SignedHeaders=host%3Bx-amz-acl%3Bx-amz-server-side-encryption&X-Amz-Expires=1200&X-Amz-Signature=<a bunch of numbers>" \
--verbose \
-X PUT \
--data-binary "@reporting.yml"
It looks like it works, initially even saying it sent off 280 out of 280 bytes.
* Trying 35.221.53.81:443...
* ALPN, offering http/1.1
* successfully set certificate verify locations:
/** see attachment for full output **/
➜ resources git:(ng-performance-multi-test) ✗
Screenshot of folder
I don't think it's because it can't find the file or anything, I tested that out and it fails as expected. Any help you can provide is most welcome.
Thanks!