Sheogorathaf
Sheogorathaf

Reputation: 11

Issue with Discord webhook (Google form response to discord)

This error always pops up on the trigger's message

Request failed for https://discordapp.com returned code 400. Truncated server response: {"message": "Cannot send an empty message", "code": 50006} (use muteHttpExceptions option to examine full response).
at onSubmit(Code:53)

Upvotes: 1

Views: 506

Answers (1)

ThePebbleStealer
ThePebbleStealer

Reputation: 15

Add "contentType": "application/json", to your options inside the script and it should work again.

Upvotes: 1

Related Questions