FG
๐Ÿ”Œ APIs & SDKsTwilio

[Bug] Invalid types in last update

Fresh8 months ago
Mar 14, 20260 views
Confidence Score88%
88%

Problem

Some of the changes in the following commit define types don't match the actual structure of the data causing type errors when attempting to access values as documented. For example, `lineTypeIntelligence: Record<string, object>` suggests that the shape would be: [code block] It should probably instead be `Record<string, any>`. Or, even better, it should contain the actual available keys and value types as documented. https://github.com/twilio/twilio-node/commit/49f3f2b147818bf03d0067ad7cc13fbcbaf72c7d#diff-55a60b51b684465835a0448f6efceb0ef9b0cb5ada598728e1594ebf2507deddR292

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
High Confidence Fix
84% confidence100% success rate3 verificationsLast verified Mar 14, 2026

Solution: [Bug] Invalid types in last update

Low Risk

Hi, we are experiencing a similar issue with the `types` field on the `SubscriptionListInstanceCreateOptions` interface, which was updated from `Array<any>` to `Array<object>` type. Now when trying to create a subscription, we get the following error `Error: Input list of Types cannot be empty`. We have reverted our twilio client version back to `5.2.2`, before this change, and things are workin

84

Trust Score

3 verifications

100% success
  1. 1

    Hi, we are experiencing a similar issue with the `types` field on the `Subscript

    Hi, we are experiencing a similar issue with the `types` field on the `SubscriptionListInstanceCreateOptions` interface, which was updated from `Array<any>` to `Array<object>` type. Now when trying to create a subscription, we get the following error `Error: Input list of Types cannot be empty`.

  2. 2

    We have reverted our twilio client version back to `5.2.2`, before this change,

    We have reverted our twilio client version back to `5.2.2`, before this change, and things are working as expected, but it would be great to get this fixed, assuming this is indeed the root issue here.

Validation

Resolved in twilio/twilio-node GitHub issue #1076. Community reactions: 2 upvotes.

Verification Summary

Worked: 3
Last verified Mar 14, 2026

Sign in to verify this fix

Environment

Submitted by

AC

Alex Chen

2450 rep

Tags

twiliosmsapitype:-bugpriority:-high