shreyas acharya
shreyas acharya

Reputation: 61

AWS send text SMS without using TopicArn or TargetArn (only mobile number) via php sdk

I had been working on PHP module which needs to send text SMS to user mobile number. I had been googling around and found some article which says that AWS can send text message using only mobile number.

But my side i am always stuck with the following error:

Invalid parameter: TopicArn or TargetArn Reason: no value for required parameter

Please help / guide me on above which the best approach to get it done and lastly that might integrate to send bulk SMS to using AWS.

I am open for any suggestions and your time is much appreciated.

Regards, Shreyas

Upvotes: 2

Views: 1583

Answers (2)

Stephen Hodgkiss
Stephen Hodgkiss

Reputation: 21

I had the same problem, which was resolved by upgrading the SDK from V2 to V3. It is version 3 that allows both the TopicARN and TargetARN to be undeclared.

Upvotes: 1

ADL
ADL

Reputation: 2856

AWS sends SMS by subscribing the number to a topic. This is typically used for alerting users within a "topic" that your instance is down or services are not working properly. Usually associated with an alarm.

Upvotes: 0

Related Questions