Fixing the no such bucket and no such key errors when uploading objects from Cloud CDN
Written by
Updated at December 17, 2025
Issue description
- You cannot download objects by CDN links the first time
- Sometimes, objects by CDN links start downloading after you refresh the browser page.
Solution
In the CDN settings, you can specify <bucket_name>.website.yandexcloud.net as the origin field value, and <bucket_name>.storage.yandexcloud.net as the header host field value. You need both properties to have the same values.
Change the values if they are different and wait up to 15 minutes. After that, check if you can download objects via CDN links.
If the issue persists
If the above actions did not help, create a support ticket
- CDN ID.
- One or multiple links to CDN objects you have issues with.
- Issue description.