403 forbidden for thumbnails on s3 when running with CDN

I found the issue. I restored a backup from another system.