discord-api-docs
discord-api-docs copied to clipboard
Submitting modal from a 'peeked' forum thread fails
Description
Using a command interaction to open a modal from within a forum thread while it is not opened in 'Full View' causes the submission to fail and the interactions endpoint to return a 400 error with the response {"message": "Cannot execute action on this channel type", "code": 50024}.
If instead the modal is submitted with the thread in Full View, it succeeds.
Steps to Reproduce
- Create or open an existing thread inside of a forum channel that is not in Full View.
- Run an interaction that opens a modal with text input fields.
- Fill in the text fields and click submit.
Expected Behavior
Modal should submit without any errors and the 'bot' processing the interaction should receive a interactionCreate event.
Current Behavior
Modal does not submit and returns an 400 error on the client with the response {"message": "Cannot execute action on this channel type", "code": 50024}.
The processing bot for the interaction does not receive an event for the submission.
Screenshots/Videos
Client and System Information
Tested using discord running on Google Chrome and natively in Windows 11 and macOS.