All Products
Search
Document Center

Object Storage Service:What do I do if "You are forbidden to list buckets" is returned when I access the accelerated domain name that is mapped to a bucket?

Last Updated:Sep 07, 2026

This topic describes the cause of the "You are forbidden to list buckets" error returned when you access the accelerated domain name that is mapped to a bucket and the solution to the error.

Symptom: You receive the You are forbidden to list buckets error when you access the CDN accelerated domain name.

content-length: 25...
content-type: text/html
date: Sun, 01 Mar 2020 01:31:13 GMT
eagleid: 7ae45f9615830262736958868e
server: Tengine
status: 403
timing-allow-origin: *
via: cache51.l2cn2302[,0], kunlun7.cn250[9,403-1280,M], kunlun2.cn250[12,0]
x-cache: MISS TCP_MISS dirn:-2:-2
x-swift-cachetime: 1
x-swift-error: orig response 4XX error
x-swift-savetime: Sun, 01 Mar 2020 01:31:13 GMT
x-tengine-error: You are forbidden to list buckets

Cause: AGetBucket (ListObejcts) request is sent to CDN. By default, this request is denied by CDN.

Solution: In the CDN console, configure a URL rewrite rule to point requests for the root URL to a specific file. For example, rewrite the accelerated domain name example.aliyundoc.com to example.aliyundoc.com/index.html. For detailed instructions, see Access URL Rewrite.