I am testing a service using a hosted production supertokens using a valid sms key, and I need to pe...
l
I am testing a service using a hosted production supertokens using a valid sms key, and I need to perform OTP sign in many times. However all of a sudden I stopped receiving sms messages and there are no logs in the console. I am wondering if this could be due to some default spam detection or if this could be due to some rate limiting against my phone number?
r
hey @listmalarinn can i see how you have added the SMS API key in the backend SDK?
l
RecipeList: []st.Recipe{ dashboard.Init(nil), passwordless.Init(plessmodels.TypeInput{ SmsDelivery: &smsdelivery.TypeInput{ Service: passwordless.MakeSupertokensSMSService(smsApiKey), }, FlowType: "USER_INPUT_CODE", ContactMethodPhone: plessmodels.ContactMethodPhoneConfig{ Enabled: true, }, }), session.Init(&sessmodels.TypeInput{ Override: &sessmodels.OverrideStruct{ APIs: sessionManager.sessionAPIOverride, Functions: sessionManager.sessionFunctionOverride, }, }), // initializes session features },
the smsApiKey variable is read from an environment, and I can verify that it works since other members of my team are getting sms messages.
r
right
and no SMS are being sent at all?
l
One of my team got no messages yesterday, but today started to receive them again
i stopped getting messages late yesterday.
we are trying out the flow and are receiving a lot of messages so it sounds like some spam detection
r
can you enable debug logs on the golang sdk and show the output when sending an SMS?
l
I will do that and inform you of the output.
still no sms
r
right. So we use twilio for our SMS delivering, and they seem to have blocked this specific number cause of SMS Pumping issues
l
Ok, that confirms my thought on this.. Is there no way for me to unblock my number or do I just have to wait ?
r
No way as twilio has banned it. You could use another provider for sending sms other than our service.
l
OK thank you for the clarification
Have a good day
r
you too
4 Views