By using AWS re:Post, you agree to the Terms of Use
/Amazon Pinpoint/

Questions tagged with Amazon Pinpoint

Sort by most recent
  • 1
  • 90 / page

Browse through the questions and answers listed below or filter and sort to narrow down your results.

Pinpoint SMS - International Usage

Dear forum, using AWS Pinpoint we want to send and receive SMS to and from our customers. At the moment we are already using another 3rd party service to do so and plan to migrate to AWS (where all the rest is already hosted). We are having international customers (so numbers have various country codes) and started buying two long codes: one for Germany (+49) and one for Netherlands (+31). While testing Pinpoint, with a few German numbers (+49), we noticed the following: - Outgoing, we can send SMS from Pinpoint to our German numbers using the German long code as "originationNumber" - Incoming, we can send SMS from our German numbers to Pinpoint when sending to our German long code (SMS is handed over to SNS reliable) However: - Outgoing, when we use the Netherland long code as "originationNumber" to send SMS to German numbers, we always receive SMS from the German long code (so not the explicitly specified Netherland long code). It does not matter if we do it via API or test message UI in Pinpoint. - Incoming, when we send from a German number towards the Netherland long code, the incoming SMS is not received at all. We know from our currently used 3rd party service for SMS handling, that international roaming can be tricky. While sending works reliable there internationally (so from +49 to a +31 number as example), they also have issues with receiving sometimes. Questions: - why can't we send from the +31 number to a +49 number, although we explicitly specified the "originationNumber"? - is it expected that pinpoint can't receive an SMS from a number with a different country code? Greetings Markus
0
answers
0
votes
14
views
asked a month ago

No further functionality after "eventType": "INITIATED" message while implementing Amazon Connect high-volume outbound communications

I have just created Campaign in Connect with Contact flow, Then IAM policies, EventBridge and Pinpoint stuff with Creation of Segments & Journeys and in return i got the first event as "eventType": "INITIATED" with Type "VOICE". But then it stuck and nothing happen, it should dial a number using outbound queue as mention in the [Documentation](https://aws.amazon.com/blogs/contact-center/make-predictive-and-progressive-calls-using-amazon-connect-high-volume-outbound-communications/#:~:text=Under%20%E2%80%9COutbound%20call%20configuration%E2%80%9D%2C%20choose%20any%20phone%20number%20for,button%20at%20the%20top%2Dright.) as below: ``` { "version": "0", "id": "35af9eb2-5dda-fafc-48ce-78f223478a85", "detail-type": "Amazon Connect Contact Event", "source": "aws.connect", "account": "XXX92XXX3XXX", "time": "2022-05-31T08:21:52Z", "region": "us-east-1", "resources": [ "arn:aws:connect:us-east-1:XXX92XXX3XXX:instance/8XXXXXX9-1XXa-4XXf-bXXf-3XXXXXXXXX4", "arn:aws:connect:us-east-1:XXX92XXX3XXX:instance/8XXXXXX9-1XXa-4XXf-bXXf-3XXXXXXXXX4/contact/7b552ed3-b276-42ea-9837-31f8622f4fde" ], "detail": { "initiationTimestamp": "2022-05-31T08:21:52.769Z", "contactId": "7b552ed3-b276-42ea-9837-31f8622f4fde", "channel": "VOICE", "instanceArn": "arn:aws:connect:us-east-1:XXX92XXX3XXX:instance/8XXXXXX9-1XXa-4XXf-bXXf-3XXXXXXXXX4", "initiationMethod": "API", "eventType": "INITIATED", "campaign": { "campaignId": "8b00b16f-b083-4a00-ae86-58332f524b2b" } } } ``` In the end after the time ends it closed the journey with message "Message Not Sent". It should dial an outbound number at numbers added through segment and than return the events but somehow it doesn't working. In CSV segment file what format we have to used for phone number? e.g. General! when we add E.164 phone in CSV file and saved it, it throw an alert `"some features in your workbook might be lost if you save it as csv UTF-8 (comma delimited)"`. May be its changing the format.
1
answers
0
votes
30
views
asked a month ago

Request to increase Sending Limits Rejected

Hello, **Amazon has rejected my request to increase daily sending quota limits.** The Amazon SES Quota on my home page shows I'm in Sandbox mode and have a daily quota of 200 mails. It also states: "Please request Amazon to raise your SES Sending Limits to be able to send to and from any email address as well as raise your daily sending quota from 200 to any number you need." **I put in a detailed request via the support centre ticketing system for a daily quota of 50 000, and provided the additional background info on request:** "I will send emails to my list received from advertisements once per day (excluding test emails), I will maintain my recipient list through granting them the option to voluntarily unsubscribe from my newsletter every day and by eventually remove a series of inactive subscribers from my email list every 30 days to prevent unnecessary spam and bounces. My email newsletters are a series of 6 repeated fond communications with the subscriber per week, with one inactive day. And all of these communications entail an introductory, soft and hard pitch promotion of my affiliate offer. A screenshot example of a snippet of my email swipes is attached in a PDF file below." **They Replied as follows** "Hello, Thank you for submitting your request to increase your sending limits. We are unable to grant your request at this time because we do not have enough information about your use case. If you can provide additional information about how you plan to use Amazon SES , we may be able to grant your request. In your response, include as much detail as you can about your email-sending use case and how you intend to use Amazon SES. For example, tell us more about how often you send email, how you maintain your recipient lists, your website or app(please include any necessary links), and how you manage bounces, complaints, and unsubscribe requests. It is also helpful to provide examples of the email you plan to send so we can ensure that you are sending high-quality content. You can provide this information by replying to this message. Our team provides an initial response to your request within 24 hours. If we're able to do so, we'll grant your request within this 24-hour period. However, if we need to obtain additional information from you, it might take longer to resolve your request." **I'd be grateful for some guidance on how to proceed. I felt I'd given enough context, and I can't conceive that the volume of mail I'm now pushing via a legacy server that is going to be taken offline would have an influence on Amazon services.**
1
answers
0
votes
136
views
asked 4 months ago

Not able to send sms(Text messages) through api to USA region using csharp dotnet

We are actually trying to send sms(text messages) to US destination{.AmazonSimpleNotificationServiceClient}. from oregon region (Us west-2), in api call its showing successful but in aws console it shows failed. But we are able to send sms to mobile form mumbai region (APSouth) region using same api service. so all i got to know is we need an Origination ID to send sms txt messages to US destination. while requesting in excess limit it show only 10dlc option but not short codes. So even while creating an origination ID also i am facing issue. I have increased the usage limit in oregon region also. Below is the code i am using in api AmazonSimpleNotificationServiceClient snsClient = new AmazonSimpleNotificationServiceClient("access key", "secret key", Amazon.RegionEndpoint.USWest2); PublishRequest pubRequest = new PublishRequest(); // pubRequest.Message = message+ " is the OTP for your multi factor authentication.This code will expire in 10 minutes."; pubRequest.Message = message; pubRequest.PhoneNumber = mobileNo; // add optional MessageAttributes, for example: ////pubRequest.MessageAttributes.Add("AWS.SNS.SMS.SenderID", new MessageAttributeValue ////{ StringValue = "clicinsight", DataType = "String" }); // pubRequest.MessageAttributes AWS.SNS.SMS.SenderID"] = new MessageAttributeValue { StringValue = "...", DataType = "String" }; //pubRequest.MessageAttributes AWS.SNS.SMS.MaxPrice"] = // new MessageAttributeValue { StringValue = "0.50", DataType = "Number" }; pubRequest.MessageAttributes AWS.SNS.SMS.SMSType"] = new MessageAttributeValue { StringValue = "Transactional", DataType = "String" }; PublishResponse pubResponse = snsClient.Publish(pubRequest);
1
answers
0
votes
25
views
asked 7 months ago

Does Mobile Analytics still work?

I can see that tutorials and docs all suggest using Amplify for registering with Pinpoint, but I seem to have massive difficulty in getting it configured and working. I've downloaded the mobile analytics sdk and am using the following code: AWS.config.credentials = new AWS.CognitoIdentityCredentials({ IdentityPoolId: 'eu-west-1:xxx', Logins: { 'cognito-idp.eu-west-1.amazonaws.com/eu-west-1_xxx': result.getIdToken().getJwtToken() } }); app.mobileAnalyticsClient = new AMA.Manager({ appId : "xxx" // Pinpoint AppId }); console.log("creating mobile analystics client"); var p = app.mobileAnalyticsClient.startSession(); console.log("started mobile analystics session"); var q = app.mobileAnalyticsClient.createEvent('LoginEvent'); console.log("recording login event"); var r = app.mobileAnalyticsClient.submitEvents(); console.log("submitting mobile analystics events"); console.log("responses: " + JSON.stringify(p)); console.log("responses: " + JSON.stringify(q)); console.log("responses: " + JSON.stringify(r)); i dont get any errors in the log, but im not getting anything in my pinpoint console. creating mobile analystics client started mobile analystics session recording login event submitting mobile analystics events responses: {"eventType":"_session.start","timestamp":"2020-04-08T08:25:20.917Z","session":{"id":"213de044-d0d3-b844-83ca-e747b0ea3af0","startTimestamp":"2020-04-08T08:25:20.911Z"},"version":"v2.0","attributes":{},"metrics":{}} responses: {"eventType":"LoginEvent","timestamp":"2020-04-08T08:25:20.920Z","session":{"id":"213de044-d0d3-b844-83ca-e747b0ea3af0","startTimestamp":"2020-04-08T08:25:20.911Z"},"version":"v2.0","attributes":{},"metrics":{}} responses: \[]
2
answers
0
votes
9
views
asked 2 years ago

AWS Pinpoint Android, “EventRecorder: Unable to successfully deliver events

I'm attempting to get AWS Pinpoint to send notifications to my Android app. I have gone through the setup testing instructions here: https://aws-amplify.github.io/docs/android/push-notifications I'm able to get a Pinpoint client device token and send a message with the Pinpoint test messaging console. Once I send the message I get the following stacktrace in my log: 2019-04-11 11:56:34.757 8880-9196/com.example E/EventRecorder: Unable to successfully deliver events to server. Events will be saved, error likely recoverable.Cognito Identity not configured com.amazonaws.AmazonClientException: Cognito Identity not configured at com.amazonaws.mobile.client.AWSMobileClient.getCredentials(AWSMobileClient.java:352) at com.amazonaws.services.pinpoint.AmazonPinpointClient.invoke(AmazonPinpointClient.java:4024) at com.amazonaws.services.pinpoint.AmazonPinpointClient.putEvents(AmazonPinpointClient.java:3074) at com.amazonaws.mobileconnectors.pinpoint.internal.event.EventRecorder.submitEventsAndEndpoint(EventRecorder.java:366) at com.amazonaws.mobileconnectors.pinpoint.internal.event.EventRecorder.submitEventsAndEndpoint(EventRecorder.java:344) at com.amazonaws.mobileconnectors.pinpoint.internal.event.EventRecorder.processEvents(EventRecorder.java:315) at com.amazonaws.mobileconnectors.pinpoint.internal.event.EventRecorder$1.run(EventRecorder.java:240) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:914) The stacktrace suggests I need "Cognito Identity" for messaging to work, but I don't want that service as I already have user management/authentication process built. How do I resolve this issue? Thank you. Edited by: Paris on Apr 12, 2019 4:04 AM
1
answers
0
votes
1
views
asked 3 years ago

Send a text message and receive a response

Hi, I am trying to send a text message to a phone using AWSSDK.Pinpoint using Visual Studio (VB.NET or C#). I have written some code, but am not sure where to specify a mobile phone number yet. ``` Public Function Send(sendMessage As SendMessageInfo) As String Implements ISendMessage.Send Dim ppClient As New AmazonPinpointClient Dim ppSMSMessage As New SMSMessage With { .Body = sendMessage.Message, .MessageType = MessageType.PROMOTIONAL, .SenderId = "ACG", .Keyword = "ACG" } Dim ppMessageConfiguration As New DirectMessageConfiguration With { .SMSMessage = ppSMSMessage } Dim ppAddressConfiguration As New Dictionary(Of String, AddressConfiguration) Dim ppMessageRequest As MessageRequest Dim ppRequest As SendMessagesRequest Dim ppResponse As SendMessagesResponse Dim ppEndpoints = New Dictionary(Of String, EndpointSendConfiguration) ppAddressConfiguration.Add("1", New AddressConfiguration With { .ChannelType = ChannelType.SMS }) ppMessageRequest = New MessageRequest With { .MessageConfiguration = ppMessageConfiguration, .Addresses = ppAddressConfiguration } ppRequest = New SendMessagesRequest With { .ApplicationId = "ACG", .MessageRequest = ppMessageRequest } ppResponse = ppClient.SendMessages(ppRequest) Return ppResponse.HttpStatusCode.ToString End Function ``` Note: I am already using S3 and SNS is working using AWSAccessKey and AWSSecretKey in the Web.config (eu-west-1) I am currently getting "HttpErrorResponseException: The remote server returned an error: (404) Not Found." Previously, I was getting an error related to 'mobiletargeting' which I got around by adding an IAM group, and assigning it to the user. Also, I was wondering if it possible to send the text message and receive a reply straight to e-mail? Any help would be greatly appreciated. Thanks,
1
answers
0
votes
2
views
asked 3 years ago
  • 1
  • 90 / page