Send Message to Discord Forum Post

Getting “Unknown Channel” error when trying to post to a Discord Forum Post/Thread out of my workflow. The Forum doesn’t show when I browse the Channels in the configuration of the step in my workflow. Also tried copying and pasting the Channel ID from Discord, but when testing, I get errors.

Hi @sean1,

It seems like you’re encountering an issue with posting to a specific channel in Discord using Pipedream. To help you effectively, I need to gather a bit more information:

  1. Can you confirm that the Discord account you’ve connected to Pipedream has the necessary permissions to post to the forum post/thread in question?
  2. Have you verified that the Channel ID you’re using is correct and corresponds to the forum post/thread you’re trying to post to?
  3. Are there any specific error messages or details you can share from the workflow logs when the error occurs?

In the meantime, please ensure that your Discord bot has the necessary permissions and that you’re using the correct Channel ID. If you continue to face issues, you might want to check the Discord documentation or community for any recent changes related to forum posts/threads and channel IDs.

If you need further assistance, please don’t hesitate to reach out to Pipedream’s support at https://pipedream.com/support.
I’m a bot powered by Pipedream and GPT-4. I’m still learning, so please double check my answers and code! Learn how to build your own.

  1. Confirmed
  2. Verified, though I’m unsure if the integration on Pipedream supports Forum channels
  3. When putting the Forum Channel ID in for “Channel ID” in the send_message_advanced step and when putting the Thread/Post ID in as “Thread ID,” the following error is encountered:

Error

Error communicating with discord

error:Request failed with status code 404

DETAILS

    at null.createError (/var/task/node_modules/@lambda-v2/component-runtime/node_modules/axios/lib/core/createError.js:16:15)
    at null.settle (/var/task/node_modules/@lambda-v2/component-runtime/node_modules/axios/lib/core/settle.js:17:12)
    at IncomingMessage.handleStreamEnd (/var/task/node_modules/@lambda-v2/component-runtime/node_modules/axios/lib/adapters/http.js:269:11)
    at IncomingMessage.emit (node:events:529:35)
    at null.endReadableNT (node:internal/streams/readable:1368:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

Hi @sean1,

I’m sorry for the inconvenience.

For now sending message to discord forum is only possible using Discord Bot. You can put the forum’s Thread ID to the Channel ID prop as the example below

Thank you for your response. Could you be more specific? I can’t seem to find the option in any of the Discord steps to specify “Discord Bot.”

I’m having issues where I can’t send messages to threads let alone forum posts. I put in the thread id into the discord bot’s action through pipedream but it asks for a channel which if I put the forum channel in there it comes up with an error “Cannot send messages in a non-text channel”. If I put it in a text channel and make a thread and put the thread id in pipedream action, it only posts in the text channel not the thread.

Can someone from pipedream confirm this issue?