Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

HTTP 400 Error While Creating Webhooks, Help?

Asked by
lysandr 49
5 years ago

Could use a quick hand, thanks!

local Data = {
    ["Username"] = "["..Player.Name.."/"..Player.UserId.."]",
    ["Content"] = "Was Kicked By: ["..plr.Name.."/"..plr.UserId.."] For: "..Reason
}

_G.HTTP:PostAsync(_G.ModerationHookKey,_G.HTTP:JSONEncode(Data))

Errors me; HTTP 400

0
This isn't helpful, but a 400 means your table isn't working. Try debugging that and see if the problem really is with the HTTP? Fate2Seal 5 — 5y

1 answer

Log in to vote
0
Answered by
lysandr 49
5 years ago

https://devforum.roblox.com/t/roblox-discord-webhook-issue/275076/12

Figured it out, thanks, me!

Ad

Answer this question