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

Send Discord DM Error #8936

Closed
itsMattShull opened this issue Mar 21, 2024 · 2 comments
Closed

Send Discord DM Error #8936

itsMattShull opened this issue Mar 21, 2024 · 2 comments
Labels
in linear Issue or PR has been created in Linear for internal review Released

Comments

@itsMattShull
Copy link

Bug Description

Using the discord node to send a message to a channel in the discord server works great. But when selecting User and trying to send a DM I get the following error:
image

The ID it mentions is not the channel ID, but my client ID. That seems odd. As you can see I am selecting from list to the specific user I want to send the message. Changing to ID and putting my user ID doesn't change the output, I still get the error.
image

To Reproduce

Go to Discord
Select Resource: Message
Select Operation: Send
Server: select a server from list
Sent To: select User
User: select user from list
Test step and get the error.

Expected behavior

It should send a DM to the user (like it does if I choose to send it to a channel on the discord server).

Operating System

Raspbian

n8n Version

1.32.2

Node.js Version

18.19.1

Database

SQLite (default)

Execution mode

main (default)

@Joffcom
Copy link
Member

Joffcom commented Mar 21, 2024

Thanks for the report I have managed to reproduce this and have created NODE-1257 as the dev ticket to fix this. I have also made a note of the typos so we can get those fixed at the same time.

@janober
Copy link
Member

janober commented Apr 25, 2024

Fix got released with n8n@1.39.1

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 Released
Projects
None yet
Development

No branches or pull requests

3 participants