Skip to contentSkip to navigationSkip to topbar
Page tools
Useful for sharing or LLM
Accelerate development with AI

On this pageProducts used
Looking for more inspiration?Visit the
Error
Application error

92004: Invalid language code

Twilio Messaging DocumentationMessaging

Description

description page anchor

This error appears when you create Content with a language value that is not valid for the resource. The Content API uses a two-letter ISO 639-1 language code, and Content Templates are limited to one language per template.

Possible causes

possible-causes page anchor
  • You sent a language value that is not a valid two-letter ISO 639-1 code.
  • The language you chose is not supported for the Content template you are creating or updating.
  • Set language to a supported two-letter ISO 639-1 code, such as en.
  • If you need to send content in more than one language, create a separate Content template for each language.

Additional resources

additional-resources page anchor