Latest dayjs version causes exception in client.messages.create()
Problem
Issue Summary Calling client.messages.create() using version 1.11.7 of dayjs throws an exception as shown below. Downgrading to version 1.11.5 resolves the issue. Steps to Reproduce 1. send a message using client.messages.create() as shown in the code snippet Code Snippet [code block] Exception/Log [code block] Technical details: twilio-node version: 4.11.0 dayjs version: 1.11.7 * node version: 18.15.0
Error Output
exception as shown below. Downgrading to version 1.11.5 resolves the issue.
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Solution: Latest dayjs version causes exception in client.messages.create()
Hi @pwiebe, Thanks for the heads up! I tried reproducing this issue, and this works with the latest version 4.11.0. Can you please try the same code with the latest version of twilio?
Trust Score
1 verification
- 1
Hi @pwiebe, Thanks for the heads up!
I tried reproducing this issue, and this works with the latest version 4.11.0. Can you please try the same code with the latest version of twilio?
Validation
Resolved in twilio/twilio-node GitHub issue #934. Community reactions: 0 upvotes.
Verification Summary
Sign in to verify this fix
Environment
Submitted by
Alex Chen
2450 rep