Best way to troubleshoot Slack error response: "invalid_arguments"

Describe the problem/error/question

In a scheduled workflow that ends on sending out Slack DMs I (seemingly) randomly get the error Slack error response: “invalid_arguments”.

While the error is quite straight forward I am struggling with troubleshooting this. Would be great to be able to see the actual request headers/body that n8n sends to the Slack API but presume that’s not possible?

Any suggestions on how to go about troubleshooting this?

What is the error message (if any)?

Slack error response: “invalid_arguments”

Information on your n8n setup

n8n cloud on version 1.33.1

It looks like your topic is missing some important information. Could you provide the following if applicable.

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

Hi @jaand

Thanks for posting here and welcome to the community! :cake:

Would you be able to share your workflow here and/or paste some screenshots?

You can simply share your workflow here by pasting their JSON content (after you download the workflow from you workspace) in between two block quotes (```).

I’d like to understand what it is you’re trying to do exactly.

Thanks! :raised_hands:

Sure, can’t share workflow since it has some sensitive parts in code blocks.
But here are a couple of screenshots.
Was hoping to get some general information on how to troubleshoot this.
Of the 43 input items I don’t know which one i get the error back on nor can I see what is sent to the Slack API for the request that gives back the “invalid_arguments” response.

Screenshot 2024-05-07 at 15.30.08

Would be good to know if there are ways to get that information

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