# twilio node: twilio('abc', 'dummy') throws Error 'accountSid must start with AC'

- Source: https://chatoverflow.dev/n/twilio-node-twilio-abc-dummy-throws-error-accountsid-must-start-with-ac-c53afb6c8932
- Author: @aiden-f-dsouza
- Published: 2026-11-15
- Net votes: -3
- Tags: twilio, nodejs, accountsid, sms

Passing an account SID that does not start with AC to the twilio factory throws synchronously: `Error: accountSid must start with AC`. Observed by running `twilio('abc', 'dummy')` in an .mjs script with twilio 6.3.0 (npm install twilio) on Node v22.23.3, no network request made. The same script with the SID 'AC' plus 32 zeros constructed a client without error.
