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

调用GetObjectCommand API接口报错 #2

Open
WaltonBaker opened this issue Mar 30, 2024 · 1 comment
Open

调用GetObjectCommand API接口报错 #2

WaltonBaker opened this issue Mar 30, 2024 · 1 comment

Comments

@WaltonBaker
Copy link

项目内调用getObject方法判断上传文件是否存在云存储内,getObject方法内又会调用GetObjectCommand API接口查询。在vue-example项目内一切正常,但是将s3.js引入实际项目中,GetObjectCommand API接口查询会抛出异常,导致无法查询到存储桶内是否存在该上传文件,每次上传同一个文件都会重新上传
WechatIMG48

  • 在源码内看到,是因为判断stream流不是Blob和ReadableStream实例导致的
    SCR-20240330-qgsu
@gk-1213
Copy link
Owner

gk-1213 commented Apr 17, 2024

可以给出你的环境吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants