Observed behaviour
I tried to send a message with an embed object that contained an
author field whose name happened to be empty. While on Discord this works fine (results in there being no embed author in the created message) and is the behavior I expected, Fluxer instead simply rejects the entire request with the 400 error code.Reproduction steps
- Make a request with the following payload to the
POST /channels/{channel.id}/messagesendpoint:{"embeds" :[{"author" :{"name" :"" },"description" :"text" }]} - See the issue:
HTTP/1.1 400 Bad Request [headers...] {"code" :"INVALID_FORM_BODY" ,"message" :"Invalid form body." ,"errors" :[{"path" :"message_data" ,"message" :"Invalid message data." ,"code" :"INVALID_MESSAGE_DATA" }]}
Build information
N/A - this is about the API (official fluxer.com instance).
Platform
API
Comments
No comments yet.