Back to Discord API
Discord API

minLength: 1 added to a string field (max 1024) in Discord API spec

BreakingBreaking change

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

What changed

A "minLength": 1 constraint was added to a string field that previously had only a maxLength of 1024. This means empty strings ("") are no longer valid for this field — clients sending empty strings will receive a validation error. The exact endpoint and field path are not shown in the diff context, but this is a tightening of an existing constraint.

Open the source documentation