突然停止接收来自 aws-cognito 的 otps

Suddenly stopped receiving otps from aws-cognito

我正在使用 aws cognito 和 aws amplify,它工作正常,我在注册和重新发送 otp 时收到了 otps,但它现在突然停止了 apis 工作正常(就像一个未经证实的用户在注册时创建并且 resendSignup api 也成功响应)但我没有收到任何 otps,可能的原因是什么?或者我该如何检查问题出在哪里。

Ionic V1

aws-amplify

默认情况下,您只能发送价值 1.00 美元的短信。您将不得不请求提高 SMS 支出的限额。

The default spend limit per account (if not specified) is 1.00 USD per month. If you want to raise the limit, submit an SNS Limit Increase case in the AWS Support Center. For New limit value, enter your desired monthly spend limit. In the Use Case Description field, explain that you're requesting an SMS monthly spend limit increase.

查看this link了解更多信息

突然间,消息完全停止发送,因此您可能已达到您帐户的 SNS SMS 支出限额。默认情况下,AWS 区域中的 AWS 账户为 1 美元。您应该提高限额。

但将来如果您想防止这种情况发生,即如果您希望在达到帐户的实际 SMS 支出限额之前更早地收到通知,以便可以提前增加限额。这样您就不会因为达到限制而面临短信发送问题。您可以在 SMSMonthToDateSpentUSD 指标上创建 CloudWatch 警报。

请观看此视频:https://www.youtube.com/watch?v=5-HdLf_lizI

这可能主要有两个原因。

  1. 每月短信限制。 Read more Here
  2. 新的 TRAI 政策(仅适用于印度)。