I think the prefix command functionality is broken. FYI I am running Emacs 29.1
The concat this-command-keys and kbd gives an error.
Note that the documentation mentions this-command-keys-vector.
Since I don't need the prefix functionality I disabled it with.
- (key-sequence (concat prefixes keysym))
+ (key-sequence keysym)
in i3-integrated-key.