用临时token和c#的sample demo进行get bucket的操作总是提示403.

CosServerException: (statusCode = 403, statusMessage = Forbidden, errorCode = AccessDenied, errorMessage = Access Denied., requestId = NWQ1MzlmN2JfZjRiYjFjMDlfMTJiMTVfMTI3NWZkZQ==, traceId = OGVmYzZiMmQzYjA2OWNhODk0NTRkMTBiOWVmMDAxODc0OWRkZjk0ZDM1NmI1M2E2MTRlY2MzZDhmNmI5MWI1OTBjYzE2MjAxN2M1MzJiOTdkZjMxMDVlYTZjN2FiMmI0MzY1OGZlZGRkNDBkM2U1ZjgzMmZlY

TY3YzY1ZTgxOGE=

用户5469306用户5469306提问于
QCloudTerminalLab回答于

没有授予操作 ab-1258948065 这个bucket 根目录权限,即类似于 这样:"resource":["qcs::cos:ap-shanghai:uid/1258948065:prefix//1258948065/ab/*"]

参考链接 https://cloud.tencent.com/document/product/436/31923#.E6.9F.A5.E8.AF.A2.E5.AF.B9.E8.B1.A1.E5.88.97.E8.A1.A8

扫码关注云+社区

领取腾讯云代金券