I have Twilio's paid account. I had set up a webhook for an active number. Currently, I am using MessagingResponse
to reply messages with any number and send a message to a number had a webhook. But I got an error with status 30008 Unknown error
. What is solution for this error?
This is the code handle hook and send reply message:
public async hookTwilioSMS(payload: ITwilioWebhookPayload): Promise<MessagingResponse> {
const messagingResponse: MessagingResponse = new Twiml.MessagingResponse()
const incomingMessage: string = payload?.Body ?? ''
messagingResponse.message(
{
to: payload.From
},
'help'
)
return messagingResponse
}
This is the error log: error log image part 1 error log image part 2