The client gets an exception similar to:
ReplyError: ERR max key size exceeded. Limit: X bytes, Actual: Z bytes
Size of the key in the request exceeds the max key size limit, which is
This is a hardcoded limit and cannot be configured per database. You should reduce the key size.