Authorization failed - please check your credentials when i try to add a

Hi n8n Support Team, I’m experiencing an issue with the ClickUp node in n8n Cloud: When I use a static Task ID, the update operation works successfully. However, when I use a dynamic expression to get the Task ID from a previous node ({{$json.checklist

Describe the problem/error/question

What is the error message (if any)?

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hello @umar_imran_imran ,

If your dynamic ID has even a single hidden space or newline character at the end (common if it comes from a webhook or email), ClickUp breaks.

  • Update your expression to this:
{{ $json.checklist.id.toString().trim() }}

The .trim() removes any accidental whitespace that might be causing the URL to break.

tell me if this helps solve the problem.

i have already do that but still the same erorr happen and fun fact is operation is done successfully but still got the eror

OK then lets try this :

If the previous node didn’t return a value for that specific item (e.g., one item in the list is missing a checklist ID), n8n sends an “undefined” ID.
Check the input data of the failing item. If the ID is missing, you need an If node before this to filter out items without IDs.