Anyone use Twilio to send and receive SMS messages
why the eff is it so hard to get a webhook to trigger when a number receives an SMS message? been trying for a couple days and it does no worky work. Can anyone please help ðŸ˜
65 Replies
I have. Do you have a number bought and your account balance right?
can you please help :pepe_pray:
I am trying to get my twilio messages to trigger an amazon api that triggers a lambda
Javascript right
the lambda is written in JS yes
Can you open the sms number?
wdym by open the sms number?
have you set the callbacks to the domain yet?
or is there a way for you to share your screen on this server ?
so i tried doing this with the default number twilio gives you
and it didnt work
i can try it with the number i bought
but based on the documentation, it should have worked with the number twilio gave
Also im confussed on what all these different verifications are

then for the default number i had this warning

default?
you have to buy a number
twilio gives you a number by default
okay
or it bought it for me 💀
This is for a new
(ish) to be compliant so you can send and recieve phone numbers
oh
ok so i setup this i think
it sounds like you bought a number
yes. because the default one wasnt working
i setup the A2P "license"
lemme set it up and try again
there is no default
i think you might mean you are using the number in the tutorial
i'm not sure
so ive been redoing this shit like a fool this entire time :facepalm:
im dumb
i can figure out AWS lambdas but not twilio console 💀
have you done the toll free verification?
yes

oh wow
if you are in develop
click the develop part and then open overview
i should probably
hide the link
uh
delete the image
it does look right if your endpoint accepts HTTP post
it accepts everything for now 💀
when you click phone numbers you have at least one active number with that aws lambda tied with it right
like this?
i dont have the default conversation service though
i got the sole properitaor thingy
ok
but you do have a webhook for your aws lambda that is accepting a http post
and you have a phone number like above
right?
yes
i do
go to your accounts dashboard
ok
click monitor
done
click error logs
is there anything there
also check on messaging logs
i think i figured it out. lemme test it real quick
ok cool
what did you have to do
wait so im trying to test the webhook when a message is received from the twilio phone number
how do i test that
do i just use my personal phone?
no
you need to buy a number
i already did
oh
yea you use your phone to sms the number
ok
once you do that you should be able to see it in twilio logs
if it isn't accepting HTTP posts it will show an error or if something is wrong
Solution
my A2P campaign isnt approved :mikebruh:
yea
that sounds like it
how do i get the default message services?
i want this

uh
i think you still have to go through a2p
ðŸ˜
Finding the Default:
The default Messaging Service can be located within the Twilio Console under "Messaging > Services > Default Conversations Service"
nvm
you just have to setup a default message service
but i had to do this when they setup a2p
so default message service is not a workaround
a2p is annoying i agree
i had to set it up with a working program before a confrence i gave a talk to
go to messaging and then regulatory compliance
read the overview and qualitfy for sole properitor package
i dont think i have to connect it to a campaign
no thats what you definately have to do
IIRC
you could ask twilio support
if you are being blocked by a2p
my campagin is still being verified
thats why its not working
oh
yea just wait a few weeks
weeks?
how long does the toll free verification take
i think it was 1-2 weeks for me
it was less than a month
so i just have to wait now
because my confrence talk was 1 month before a2p compliance came into 100% effect
yea
unless you made a mistake on the form
most likely you didn't
campaign stuff is in progress
i just submitted the toll free stuff
yup
yea
good luck
you were of great help
thank you so much
NP
:catJAM: