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

90019: 'TemplateArgs' dictionary size is too large


ERROR: 90019

error-90019 page anchor
ERROR

This error occurs when your request includes more template arguments in TemplateArgs than Twilio accepts for a template message. Send only the key-value pairs required to populate the placeholders defined in your template.

Possible causes

possible-causes page anchor
  • TemplateArgs contains too many entries.
  • Your request includes placeholder keys that are not required by the template you are sending.
  • Your application is passing a large personalization object into TemplateArgs instead of only the variables used by the template.
  • The template design requires more dynamic fields than Twilio supports in a single template payload.
  • Remove unused entries from TemplateArgs and resend the request.
  • Send only the placeholder keys that are defined in the template body.
  • Keep the template variable payload within the supported limit. Content templates support up to 100 variables.
  • Move static text into the template itself and reserve TemplateArgs for runtime substitution values only.
  • If you need more placeholders than a single template supports, simplify the template or split the content into multiple messages or templates.
  • Review each variable definition before resending. Variable keys cannot contain spaces, keys can be up to 16 characters, and values can be up to 1,600 characters.

Additional resources

additional-resources page anchor