Deze pagina is nog niet beschikbaar in uw eigen taal. We werken er hard aan om meer taalversies toe te voegen. Bedankt voor uw steun.

On this page

Show all

Help Center/ Distributed Cache Service/ FAQs/ Redis Commands/ Why Do I Fail to Execute Some Redis Commands?

Why Do I Fail to Execute Some Redis Commands?

Updated on 2024-12-11 GMT+08:00

Possible causes include the following:

  • The command is spelled incorrectly.

    As shown in the following figure, the error message is returned because the correct command for deleting a key should be del.

  • A command of later versions was run in earlier Redis instances.
  • A command not supported in DCS was run.

    For security purposes, some Redis commands are disabled in DCS. For details about disabled and restricted Redis commands, see Command Compatibility.

  • A command failed to be executed by using Web CLI.

    In addition to the constraints listed above, Web CLI has some restrictions on the KEYS command.

  • The LUA script failed to be executed.

    For example, the error message "ERR unknown command 'EVAL'" indicates that your DCS Redis instance is of a lower version that does not support the LUA script. In this case, submit a service ticket for the instance to be upgraded.

  • The CLIENT SETNAME and CLIENT GETNAME commands fail to be executed.

    The DCS Redis instance is of a lower version that does not support these commands. In this case, submit a service ticket for the instance to be upgraded.

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback