Code that’s causing the issue:
local Data = {
["content"] = "**Congratulations to the Week" .. OldWeek .. " Winners!**\n" ..
"1st - " .. UserNames[1] .. " \n" ..
"2nd - " .. UserNames[2] .. " \n" ..
"3rd - " .. UserNames[3]
}
Data = G.HttpService:JSONEncode(Data)
local WebhookUrl = "link here (not sure if it's safe to post)"
G.HttpService:PostAsync(WebhookUrl, Data)
The error I’m getting is HTTP 403 (Forbidden)
on the very last line.
It completely works in studio but it’s when I test in game that the error happens.
Would greatly appreciate it if anyone knows anything about this, thanks.