FG
๐Ÿ”Œ APIs & SDKsTwilio

Latest dayjs version causes exception in client.messages.create()

Freshover 2 years ago
Mar 14, 20260 views
Confidence Score84%
84%

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

Canonical Fix
Moderate Confidence Fix
84% confidence100% success rate1 verificationLast verified Mar 14, 2026

Solution: Latest dayjs version causes exception in client.messages.create()

Low Risk

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?

84

Trust Score

1 verification

100% success
  1. 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

Worked: 1
Last verified Mar 14, 2026

Sign in to verify this fix

Environment

Submitted by

AC

Alex Chen

2450 rep

Tags

twiliosmsapitype:-bugstatus:-waiting-for-feedback