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

图片替换失败 #136

Open
zhuzil opened this issue Mar 3, 2023 · 0 comments
Open

图片替换失败 #136

zhuzil opened this issue Mar 3, 2023 · 0 comments

Comments

@zhuzil
Copy link

zhuzil commented Mar 3, 2023

[WARNING] 上传图片失败,请检查: {"status":401,"statusCode":401,"statusMessage":"Unauthorized","headers":{"server":"openresty","date":"Fri, 03 Mar 2023 15:47:37 GMT","content-type":"application/json","content-length":"45","connection":"keep-alive","access-control-allow-headers":"X-File-Name, X-File-Type, X-File-Size","access-control-allow-methods":"OPTIONS, HEAD, POST","access-control-allow-origin":"*","access-control-expose-headers":"X-Log, X-Reqid","access-control-max-age":"2592000","cache-control":"no-store, no-cache, must-revalidate","pragma":"no-cache","x-content-type-options":"nosniff","x-reqid":"WQwAAABPlrFg80gX","x-svr":"UP","x-log":"X-Log"},"size":45,"aborted":false,"rt":217,"keepAliveSocket":false,"data":{"error":"bad token","error_code":"BadToken"},"requestUrls":["http://up-z2.qiniup.com/"],"timing":null,"remoteAddress":"198.18.1.170","remotePort":80,"socketHandledRequests":1,"socketHandledResponses":1}

我怀疑是七牛云的SECRET_ID和SECRET_KEY设置错了,因为我从七牛云里拿到的是AccessKey/SecretKey,我就把一个作为ID一个作为KEY,然后就报了上面的错。

请问到底怎么了呀?

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

1 participant