Problem with assigning a hotkey

I want to assign a key to this command, but an error appears.