Comments (6)
Yea this happens with a variety of specific api calls. Whoever designed the backend architecture for twilio should probably stop coding.
from twilio-node.
Ohh got it. We need to catch these exceptions. I have added this to our internal backlog to be prioritized. +1s/reactions on this issue (and comments) and PRs will bump it higher up the backlog.
from twilio-node.
Hi! One such issue was resolved by #952. Is there some other case where you are facing uncaught exceptions? Please share the code samples to help us reproduce the error. Thanks!
from twilio-node.
"RestException [Error]: Invalid 'To' Phone Number" this error is also uncaught exceptions.
from twilio-node.
Hi @NishikantS578! Can you please share your code snippet? Thanks!
from twilio-node.
client.messages.create({
body: message,
from: phone,
to: "9234789238",
})
Since the 'to' field does not have a valid phone number ( The phone number should include country code as well), twilio throws uncaught exception in response to that.
RestException [Error]: Invalid 'To' Phone Number:
It would be better if it did not threw uncaught exception, since that crashes server.
from twilio-node.
Related Issues (20)
- [Feature Request]: twilio message create timeout HOT 5
- Twilio Studio HOT 1
- please support latest node v20 HOT 3
- Certificate error while creating conversation message in ie1 HOT 3
- Regression: some call filtering params got removed in v5 HOT 2
- Right-hand side of 'instanceof' is not an object for token.toJwt() (next.js) HOT 2
- Unable to import Twilio HOT 9
- Missing required parameter error when updating factor in `verify.v2` HOT 4
- Misleading / Incorrect documentation for webhook validation HOT 5
- retries for network errors (e.g. ECONNRESET)
- [Bug]: Module not found. Error polyfills, HOT 1
- Conferences('xxx').recordings.create does not exist
- [Feature Request]: Need to add background sound with twilio voice call like background office sound or something.
- [Feature Request]: fix audit HOT 2
- Question about task_queue_bulk_real_time_statistics HOT 2
- Twillio doesn't work with remix js
- Problem with Twilio streams using Websockets
- update you readme ffs. HOT 4
- [Vulnerability] patch axios vulnerability CVE-2023-26159 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from twilio-node.