Have this issue with the reddit get post node

i notice an issue of using expression with the reddit get post node.

it works fine with using fixed value

errors out using expression:

anyone has a workaround on this?

Could you open the “From Reddit” collapsed part please?
Could you please try to also add either .trim() to your expressions or .toJsonString()?

{{ $json.subreddit.trim() }}
{{ $json.subreddit.toJsonString() }}

{{ $json.pastId.trim() }}
{{ $json.pastId.toJsonString() }}

thanks for answering this.

both suggestions , didn’t work:

Could you copy/paste and try this simple workflow and tell me if that works?

result is the same. i am on the latest version :

Well result is note the same - this time is says - node doesn’t have credentials set. Could you try to unset and set the credentials again?

1 Like

i found the problem ! it’s my own issue . there are multiple input json given at 1 go to the node causing issues . i changed to a loop to process it 1 by 1 and it worked! thanks @jabbson for helping out!

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.