question

Arsalan avatar image
Arsalan asked

Primary webhook not receiving sms

I set up a webhook to recieve sms in my web application and even though i can send a post request to that url using Postman somehow Telnyx is unable to forward the message to that url and instead sending it to the failover url . Any suggestions?

smswebhooks
6 comments
10 |600

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

vishal avatar image vishal ♦♦ commented ·

Hello @Arsalan,

Can you please share the code snippet you are using to send post request masking any confidential data so we can check?

0 Likes 0 ·
Arsalan avatar image Arsalan vishal ♦♦ commented ·

142-capture.png

This is the settings I used for receiving sms but the payload is being sent to the faiover url instead of the primary webhook

0 Likes 0 ·
capture.png (24.3 KiB)
vishal avatar image vishal ♦♦ Arsalan commented ·

Thank you for the response. Looks like indeed the primary URL is failing and hence it is using the failover URL. Can you please share some messaging IDs of the messages you sent so far and the telnyx number you are using to community@telnyx.com so we can check why it is failing and get back to you.

0 Likes 0 ·
Show more comments
$$ANON_USER$$ avatar image $$ANON_USER$$ commented ·

141-capture.png

This is the settings I used to revieve webhooks on my number but the payload is sent to the failover url instead of the primary webhook whenever I receive an sms.

Here is the URL : https://reports.atlantisbposolutions.com/doctors_inventory/public/api/receive_incoming_sms

0 Likes 0 ·
capture.png (24.3 KiB)
vishal avatar image vishal ♦♦ $$ANON_USER$$ commented ·

Hello @Arsalan, Can you please try replacing the primary webhook URL with the Failover URL and vice- versa so we can see if the issue is with this URL or something else.

Can you please try this and share the results so we can investigate further.

0 Likes 0 ·

1 Answer

·
vishal avatar image
vishal answered

Hello @Arsalan

The error from our end says the certificate authority (CA) isn’t recognized. That means the connection can’t be established over https.

We have two options here:

(a) make sure your server has a certificate that is signed by a known CA

or

(b) use http instead of https

Please let us know if you need more help.

10 |600

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Manage Your Content