discord-api-docs icon indicating copy to clipboard operation
discord-api-docs copied to clipboard

Creating thread without message in forum gives 500 internal server error

Open MinnDevelopment opened this issue 1 year ago • 0 comments

Description

There seems to be an issue when you incorrectly create posts in a forum, using POST/channels/:channel.id/threads without specifying a message.

Steps to Reproduce

Make a request like this to POST/channels/{channel_id}/threads:

{
  "name" : "test from bot",
  "type" : 10
}

Expected Behavior

A 400 class error, indicating the incorrect usage of forum channels

Current Behavior

500: Internal Server Error

Screenshots/Videos

No response

Client and System Information

API v10

MinnDevelopment avatar Jul 19 '22 14:07 MinnDevelopment

can still repro even without the type param in the example

splatterxl avatar Aug 12 '22 16:08 splatterxl

I have fixed this on main. It should be deployed soon. Thanks for reporting!

Tin avatar Aug 24 '22 17:08 Tin