Skip to content

MMS is not being sent using AWS Pinpoint (pinpointsmsvoicev2) Java SDK in US.

0

I am trying to send out an MMS that will consist of an image. Since it is not possible using SNS so i jumped to the aws pinpoint service. my set up is not giving me any errors. I am using i am getting 200 status code as well upon sending out an MMS. I am using SendMediaMessageRequest method to send out an MMS. For test purpose I am using my personal number to receive the MMS. the problem is with mediaURLs. if I omit that parameter i am receiving the message. Is there anyone facing the similar issue or has faces such issue in the past? i am using us-east-1 region.

2 Answers
0

It seems you're encountering an issue with sending MMS (Multimedia Messaging Service) using Amazon Pinpoint's SMS and Voice v2 API. While you're not receiving any errors and getting a 200 status code, the message is not being delivered when you include the mediaURLs parameter.

There are a few things to consider:

  1. Ensure that your AWS account has the necessary permissions and quotas to send MMS messages. MMS capabilities might require additional setup or permissions compared to standard SMS.

  2. Verify that the mediaURLs you're providing are publicly accessible and in a format supported by MMS. The image should be in a common format (like JPEG or PNG) and not exceed the size limits for MMS.

  3. Check if your account is still in the Sandbox environment. If so, you may have limited functionality and may need to request production access to use all features, including MMS.

  4. Make sure the phone number you're using as the originator is capable of sending MMS. Not all phone numbers support MMS functionality.

  5. Double-check the format of your SendMediaMessageRequest. Ensure all required parameters are correctly set, including the destination phone number, origination number, and message body.

  6. If possible, try testing with different recipient phone numbers to rule out any issues specific to your personal number.

  7. Consider using the Amazon Pinpoint SMS console to test sending an MMS message. This can help determine if the issue is with your code or with the Pinpoint configuration.

If the issue persists after verifying these points, it would be advisable to contact AWS Support for further assistance. They can provide more detailed troubleshooting based on your specific account setup and usage.
Sources
software.amazon.awssdk.services.pinpointsmsvoice (AWS SDK for Java - 2.21.29)
Simplify your SMS setup with the new Amazon Pinpoint SMS console | AWS Messaging & Targeting Blog
Setting up the Amazon Pinpoint SMS channel - Amazon Pinpoint

answered 2 years ago

0

I understand that you are not receiving the MMS if you are specifying mediaUrls parameter in the SendMediaMessageRequest Java SDK call of AWS Pinpoint service. You receive the MMS if you omit this parameter. As per the document here, US supports MMS in the us-east-1 region. However, there are few things we have to consider before triggering SendMediaMessage API call with MediaUrls parameter:

  1. The identity used to call send-media-message must have read access to the Amazon S3 bucket that contains your media files. You can check Identity-based policy examples for Amazon S3 here.
  2. The media files have to be stored in an S3 bucket in the same region as your MMS capable origination identity.
  3. The URI to to use when sending should be in the format: s3://BucketName/FileName
  4. Supported media file formats are listed in MMS file types, size and character limits document. Please confirm you are using the right format and the file is within the maximum file size.

Requesting you to please check the above considerations and try again. If you are still facing any issues, then please feel free to raise a technical support case in the Pinpoint service queue so that support engineer can check your account related details to help you with the issue.

AWS
SUPPORT ENGINEER

answered 2 years 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.