Back to Discord API
Discord API

minLength: 1 added to external_auth_token and external_user_id fields

BreakingBreaking change

This is a breaking change — integrations that rely on the affected behaviour will need updates before the change rolls out.

What changed

Three request fields now have a minLength: 1 constraint added, meaning empty strings ("") are no longer valid values:

  • external_auth_token (appears in two request schemas, likely create and update operations)
  • external_user_id (in a separate request schema)

Any client currently sending empty strings for these fields will receive a validation error. This is a breaking change for clients that relied on empty strings being accepted.

Open the source documentation