My goal: Create a thread in a forum channel in Discord with Discord’s Make an API call Module
The error:
My config:
I’m still new to coding, so I couldn’t tell what was wrong with the above. Thanks in advance.
My goal: Create a thread in a forum channel in Discord with Discord’s Make an API call Module
The error:
Hi
Please check your JSON in the request body with the Online Json editor: JSON Editor Online: JSON editor, JSON formatter, query JSON
most probably it will solve your issue.
Hi @Bruce1,
Try renaming rate_limit_per_user? to rate_limit_per_user and see if that fixes the issue.
Yes, I just change it, seems like it’s still not working and still getting the same error
Yeah, the Discord, API for me is weird, as it doesn’t have any working samples, However, It seems like a message is an object instead of a string and you need to pass these as part of the payload in the body,
{
"name": "John Doe",
"auto_archive_duration": 60,
"rate_limit_per_user": 0,
"message": {
"content": "Hello, World!"
}
}
oh, this totally works for me, thanks mate, seems like the thread making stuff need to have a complete message or something