HTTP 400 (Bad Request) on My Webhook

I’ve seen people implemented this Webhook from Discord. seems useful to me. But I got this error stated as the title of this topic. did search it on this forum most of them are due to their own mistakes which is not the same as mine… please help, i cant identify the problem…

Edit: Just in case some may asked, I did try to print every variables that i throw in the webhook. All of them works.

local data = {
			{
				["embeds"]= {
					["title"] = "Big Test",
					["description"] = player.Name .." joined to test",
					["color"]= 782631,

					["fields"] = {
						{
							["name"]= "Check: ",
							["value"]= "check"
						},
						{
							["name"]= "Attempt: ",
							["value"]= Att
						},
						{
							["name"]= "Coins: ",
							["value"]= Co
						},
						{
							["name"]= "Group Joined: ",
							["value"]= group
						},
						{
							["name"]= "Stored Digits: ",
							["value"]= Digits
						},
						{
							["name"]= "Result: ",
							["value"]= result
						}
					}
				}
			}
		}
		local url = "Webhook URL here"
  		local finaldata = HttpService:JSONEncode(data)
		HttpService:PostAsync(url, finaldata)
1 Like

I am getting same issue as well.

please share me if you found the solution :smiley:

Check in gamesettings if HTTP requests are off.

already enabled, there error would be different if it were still disabled tho cause i got it before

I have tried that. Still 400 error. (HTTP Requests are on)

This solved my problem. thank u