If the image filenames in the S3 bucket have special characters, ImageKit, in some cases, might be unable to fetch such images and return a 404 error.
For example, let’s assume there is a key, image%2Bexample.jpg, in your S3 bucket & the request is made using image+example.jpg in the URL. In this case, ImageKit tries to fetch the image+example.jpg object from the S3 bucket, resulting in a 404 error as this object does not exist.
You can refer to our docs for solutions to overcome this issue.