What is the fix for a Request failed with status code 400 when using a discord bot to send data from a MySQL database to a discord channel as an embed?

This topic was automatically generated from Slack. You can find the original thread here.

I’m trying to use a discord bot to send data from a MySQL database to a discord channel as an embed, I’m getting a Request failed with status code 400, anyone know a fix for this?

A 400 error means that the data you’re sending to an external API doesn’t match what that API is expecting.

Please refer to the API’s documentation and the error message in the response from the API for more details to narrow down which part of the payload is missing or is malformed.

Perhaps you can share the configuration of your Discord step so we can help troubleshoot?