You need to enable JavaScript to run this app.
导航
0026-00000032
最近更新时间:2024.08.01 17:45:11首次发布时间:2024.08.01 17:45:11

问题描述

请求携带的头域 x-bucket-type 取值非法。

问题原因

发起请求时,携带的头域 x-bucket-type 取值不是 hns 或者 fns

问题示例
PUT / HTTP/1.1
Host: bucketname.tos-cn-beijing.volces.com
Authorization: authorization string
Date: Fri, 30 Jul 2021 06:45:39 GMT
x-bucket-type: invalid_type
x-tos-acl: ACL
x-tos-grant-full-control: GrantFullControl
x-tos-grant-read: GrantRead
x-tos-grant-read-acp: GrantReadACP
x-tos-grant-write: GrantWrite
x-tos-grant-write-acp: GrantWriteACP
x-tos-storage-class: STANDARD

解决方案

请检查请求携带的头域 x-bucket-type 是否符合预期。