Skip to contentSkip to navigationSkip to topbar
Page toolsOn this pageProducts used
Looking for more inspiration?Visit the

50006: Programmable Chat: Invalid Account SID


ERROR: 50006

error-50006 page anchor
CHAT
ERROR

This error occurs when a Programmable Chat request includes an Account SID that does not match the required Account SID format. An Account SID is a 34-character SID that begins with AC and is followed by 32 hexadecimal characters.

Possible causes

possible-causes page anchor
  • The Account SID value in the request does not match the required pattern AC[0-9a-f]{32}.
  • The request uses a different Twilio SID type instead of an Account SID. For example, an API Key SID uses the SK prefix, while an Account SID uses the AC prefix.
  • The Account SID was copied incorrectly, truncated, or altered before the request was sent. This is the most likely outcome when the submitted value no longer matches the required Account SID format.

Additional resources

additional-resources page anchor