minio / minio-js

MinIO Client SDK for Javascript
https://docs.min.io/docs/javascript-client-quickstart-guide.html
Apache License 2.0
920 stars 271 forks source link

CopySrcOptions 0 is too small #1316

Closed chiyandetaotie closed 1 month ago

chiyandetaotie commented 1 month ago

when I upload a small picture (623b) with minio, it has error as follows, how can I solve it? imageversion: 8.0.1

MinIO SDK in node.js is 8.0.1

Mino server is minio.exe version RELEASE.2024-06-29T01-20-47Z (commit-id=91faaa13877df0e2989b1eb3821f0e82fcbbfe80) Runtime: go1.22.4 windows/amd64 License: GNU AGPLv3 - https://www.gnu.org/licenses/agpl-3.0.html Copyright: 2015-2024 MinIO, Inc.

I setup minio as follows: minio.exe server C:\Users\yl\Desktop\minio_data --console-address ":9001" --address ":9000"

How can I solve it?

prakashsvmx commented 1 month ago

mc admin trace -v <ALIAS. and some code would help. but looks like some parameter passing issue.

prakashsvmx commented 1 month ago

if the api is composeObject, please take a look at https://github.com/minio/minio-js/blob/master/examples/compose-object-test-example.mjs