¿Why does my images does not show at my messages?

0

I am using Amazon connect implementation with Apple Messages for Business, when I use images at list picker functionality, just one default image provided by Amazon shows, the other images do not appear at the list. I got the functionality from here: https://docs.aws.amazon.com/connect/latest/adminguide/interactive-messages.html#list-picker

Well, I tried adding public owned images with JPG and PNG types but none of them are showing at messages. Any Idea why is it happening and how can I solve this?

1 Answer
0

There could be several reasons why your images are not showing up in your Amazon Connect implementation with Apple Messages for Business. Here are a few potential causes and solutions:

  1. CORS Policy: One common reason for attachments not appearing is that the CORS (Cross-Origin Resource Sharing) policy hasn't been configured on your attachments bucket. Make sure you have properly configured the CORS policy on the S3 bucket where your images are stored.

  2. Access Permissions: Ensure that the IAM role associated with your Amazon Connect instance has the necessary permissions to access and retrieve objects from the S3 bucket where your images are stored. You may need to attach a policy that allows actions like 's3:GetObject' and 's3:ListBucket' for your specific bucket.

  3. Public Access Settings: If you're trying to display the images directly using their S3 URLs, you might need to adjust the public access settings on your S3 bucket. However, be cautious with this approach as it may have security implications.

  4. Content Type: Verify that the content type for your images is correctly set in S3. For JPG and PNG images, it should be 'image/jpeg' and 'image/png' respectively.

  5. File Size and Format: Ensure that your images meet the size and format requirements specified by Amazon Connect and Apple Messages for Business.

To troubleshoot:

  • Check your application logs or use browser developer tools to see if there are any specific errors related to image retrieval.
  • Verify that you can successfully download the images from S3 using AWS CLI or SDK.
  • Double-check that the image URLs in your list picker configuration are correct and accessible.

If you've verified all these points and are still experiencing issues, you may want to contact AWS support for further assistance, as there could be specific requirements or limitations with the Apple Messages for Business integration that aren't immediately apparent.
Sources
Internal firewall or missing CORS policy prevents access to chat, email, or case attachments - Amazon Connect
S3 AWS doesn't show my image, but I am able to download it | AWS re:Post
Employee directory for the course AWS Technical Essentials does not display the images correctly | AWS re:Post
images in the s3 bucket not displaying on the ec2 web page | AWS re:Post

profile picture
answered 2 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions