Describe the bug

It's entirely possible I'm just doing something stupid here, but I believe this may also be a bug.

I was looking to use specific, pre-determined IDs in a stream, and was interested in using the Redis feature to automatically generate the sequence part, as documented here: https://redis.io/commands/xadd/

However, I've been unable to make it work on my own - and even following the example as written in the documentation, it doesn't seem to work, instead giving you an error: "ERR Invalid stream ID specified as stream command argument

To reproduce

Try and run the example in the documentation:

XADD mystream 1526919030474-55 message "Hello,"
"1526919030474-55"
XADD mystream 1526919030474-* message " World!"
ERR Invalid stream ID specified as stream command argument

Expected behavior

The example to work

Additional information

Redis 6.2.6.

Comment From: oranagra

@v-flashpoint look at the history section at the bottom of the docs. this feature was added in redis 7.0