N
Novu•15mo ago
nick_2432

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
No description
26 Replies
nick_2432
nick_2432OP•15mo ago
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
Pawan Jain
Pawan Jain•15mo ago
@Nikhil Are you running novu in local machine? Which provider you added? Is above error from twilio only?
nick_2432
nick_2432OP•15mo ago
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
Pawan Jain
Pawan Jain•15mo ago
Is message bird showing up in integrations page?
nick_2432
nick_2432OP•15mo ago
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
Novu_Bot
Novu_Bot•15mo ago
@Nikhil, you just advanced to level 1!
nick_2432
nick_2432OP•15mo ago
@Pawan Jain
Pawan Jain
Pawan Jain•15mo ago
@Nikhil Give me few minutes
parveshhh11
parveshhh11•15mo ago
@Pawan Jain Sir, have you found the solution to this? I'm facing the same issue while testing SMS providers
nick_2432
nick_2432OP•15mo ago
bro i got the solution you have to run npm run start:worker for testing sms api.
parveshhh11
parveshhh11•15mo ago
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 😅
Pawan Jain
Pawan Jain•15mo ago
@Nikhil I see you mentioned it is fixed is it working now?
nick_2432
nick_2432OP•15mo ago
yah it is working now
nick_2432
nick_2432OP•15mo ago
@Pawan JainI am getting this. Does it mean my provider is functioning correctly?
No description
Pawan Jain
Pawan Jain•15mo ago
@Nikhil No, you are getting error
nick2432
nick2432•15mo ago
Ok
nick_2432
nick_2432OP•15mo ago
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?
No description
No description
No description
nick_2432
nick_2432OP•15mo ago
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?
No description
Pawan Jain
Pawan Jain•15mo ago
@Nikhil Twilio returns these errors we have webhook url support for twilio
nick_2432
nick_2432OP•15mo ago
@Pawan Jain how can i check my provider that it is working or not ?
Pawan Jain
Pawan Jain•15mo ago
is your provider showing up in integration store?
nick_2432
nick_2432OP•15mo ago
yes Everything is fine except that I don't understand how to confirm that it will send an SMS
Pawan Jain
Pawan Jain•15mo ago
Did you raise a PR?
nick_2432
nick_2432OP•15mo ago
No, not yet
Pawan Jain
Pawan Jain•15mo ago
please raise a PR
nick_2432
nick_2432OP•14mo ago
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.
Want results from more Discord servers?
Add your server