I am trying to set up the Outgoing SMS plugin with Amazon SNS (I have been using textlocal successfully but the pricing is just too high now!). The error I am receiving is:
Sender - RequestExpired - Request timestamp is too skewed. Timestamps must be within 900 seconds of server time. Timestamp date: 2019-10-25T14:05:46
From a bit of reading I think this because the SNS service is using the endpoint "sns.us-east-1.amazonaws.com" however my server timezone is different (GMT London) so I tried changing the endpoint to "sns.eu-west-2.amazonaws.com" (taken from here: https://docs.aws.amazon.com/general/latest/gr/rande.html).
Unfortunately I am still receiving the same error message...
Can someone please advise? I would be very grateful for any suggestions.
Also, for OUTGOING_SMS_GATEWAY_USERNAME_OR_API_KEY and OUTGOING_SMS_GATEWAY_USERNAME I have inserted my Access Key ID and for OUTGOING_SMS_GATEWAY_PASSWORD_OR_API_KEY_SECRET and OUTGOING_SMS_GATEWAY_PASSWORD I have inserted my Secret access key.
sns.eu-west-2.amazonaws.com does not support SMS sending. I had to change it to sns.eu-west-1.amazonaws.com
Now it works!