I am getting an error while testing the Twilio provider
'm encountering an unexpected provider error while testing Twilio SMS. Can anyone help me understand why
26 Replies
I've added a new provider and would like to test it, but I'm encountering difficulties in testing the existing ones. How can I properly test my new provider
@Nikhil
Are you running novu in local machine?
Which provider you added?
Is above error from twilio only?
i did not add number in to now it's working i was running it on novu not locally but Now, locally, how should I test the API of the new provider I added (MessageBird)? Please help me understand how I can verify that my provider is functioning correctly."
@Pawan Jain can you please help me to understand it
Is message bird showing up in integrations page?
yes
I want to confirm whether its API is functioning or not. like locally this curl curl --location --request POST 'https://3000-novuhq-novu-jxws1kruqmd.ws-us105.gitpod.io/v1/events/trigger' \
--header 'Authorization: ApiKey <REPLACE_WITH_API_KEY>' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "untitled-ExPwEoOOT",
"to": {
"subscriberId": "<REPLACE_WITH_DATA>",
"phone": "<REPLACE_WITH_DATA>"
},
"payload": {}
}' is not working
@Nikhil, you just advanced to level 1!
@Pawan Jain
@Nikhil
Give me few minutes
@Pawan Jain Sir, have you found the solution to this? I'm facing the same issue while testing SMS providers
bro i got the solution you have to run npm run start:worker for testing sms api.
yea I'm running that
I'm wondering if I have to send any payload when I run the trigger
@Nikhil Can you please elaborate the steps involved to test a SMS provider
Okay nvm... I just figured it out 😅
@Nikhil
I see you mentioned it is fixed
is it working now?
yah it is working now
@Pawan JainI am getting this. Does it mean my provider is functioning correctly?
@Nikhil
No, you are getting error
Ok
now ?? and I don't have a subscription to MessageBird, so I can't send messages. However, when I used their API previously, I received some responses. Can I still check those responses? If so, could you please guide me through the steps?
This is a picture from Twilio, and it provides details about the error. How can I obtain similar error details for the provider I added?
@Nikhil
Twilio returns these errors
we have webhook url support for twilio
@Pawan Jain how can i check my provider that it is working or not ?
is your provider showing up in integration store?
yes
Everything is fine except that I don't understand how to confirm that it will send an SMS
Did you raise a PR?
No, not yet
please raise a PR
Okay, I'm doing it
@Pawan Jain, I apologize for the delay in raising the PR. Here's the link: https://github.com/novuhq/novu/pull/4515. Please review it when you have the chance.