Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redis Node: Error 'no such key' when attempting to create a list with set request #10747

Open
ARHAEEM opened this issue Sep 10, 2024 · 1 comment
Labels
in linear Issue or PR has been created in Linear for internal review

Comments

@ARHAEEM
Copy link

ARHAEEM commented Sep 10, 2024

Bug Description

When using the Redis node in n8n to create a list with the set request, I encounter the following error:

{
  "errorMessage": "ERR no such key",
  "errorDetails": {},
  "n8nDetails": {
    "n8nVersion": "1.58.0 (Self Hosted)",
    "binaryDataMode": "default"
  }
}

The key does not exist, but unlike strings and sets, it should create the key if it doesn't already exist. Instead, it throws an error for lists. The expected behavior is for Redis to create the key automatically when setting a value for the first time.

To Reproduce

Steps to reproduce the behavior:

  1. Set up an n8n workflow with a Redis node.
  2. Use the set request for a list key that does not exist.
  3. Observe the error message ERR no such key.

Expected behavior

The Redis node should create the list key if it does not exist, similar to how it works with strings and sets. There should be no error, and the key should be created when setting a list.

Operating System

Ubuntu Linux 22.4

n8n Version

1.58.0 (Self Hosted)

Node.js Version

Default Docker image.

Database

PostgreSQL

Execution mode

main (default)

@Joffcom
Copy link
Member

Joffcom commented Sep 10, 2024

Hey @ARHAEEM,

We have created an internal ticket to look into this which we will be tracking as "GHC-218"

@Joffcom Joffcom added the in linear Issue or PR has been created in Linear for internal review label Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in linear Issue or PR has been created in Linear for internal review
Projects
None yet
Development

No branches or pull requests

2 participants