"NoSuchBucket" error message issue

We moved discourse portal to a new AWS account, but we got the “NoSuchBucket” error message when we want to download the document which uploaded before.

We’ve changed the bucket path and followed the solution in the link below to change the bucket policy, but still not work.

(https://stackoverflow.com/questions/58649902/not-able-to-download-file-from-aws-s3-access-denied-error)

If we re-upload the same document (same document name), it doesn’t work, but if we change the name of the document and save as new file, then upload this new file to discourse, it works.

How can we resolve this problem?