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

Why my feedback system doesnt work?

Asked by
HaveASip 494 Moderation Voter
5 years ago
Edited 5 years ago

Hey there! I tried to make feedback system(report system), but there is an problem in output - 403 HTTP. I dont know how to fix it. I searched in internet but didnt find anything.

P.S. Sorry for my bad English. http and api services is turned on

-- This is server script. I sent report text from client to server using remotes
local RS = game:GetService("ReplicatedStorage")
local Remotes = RS.Assets.Remotes
local Event = Remotes.ReportInfo
local TrelloApi = require(game:GetService("ServerScriptService"):WaitForChild("TrelloAPI"))
local Board = TrelloApi:GetBoardID("Reports")
local List = TrelloApi:GetListID("Requests", Board)


Event.OnServerEvent:Connect(function(player, Text, Date)
    local SecondInformation = tostring("Sent by: ".. player.Name .. ", date: ".. Date .. ", "..player.Name.."'s userId: ".. player.UserId)
    TrelloApi:AddCard(Text, SecondInformation,List,"","top")
end)

And here is the error:

22:33:40.626 - HTTP 403
22:33:40.626 - Stack Begin
22:33:40.627 - Script 'ServerScriptService.TrelloAPI', Line 300 - method GetBoardID
22:33:40.627 - Script 'ServerScriptService.Scripts.ReportSend', Line 5
22:33:40.627 - Stack End
0
um, kinda obvious, but there that is a 13 line script, not a 300 lined script, which means there isnt a line 300 theking48989987 2147 — 5y
0
Line 300 it is in other module script HaveASip 494 — 5y
0
and in that modulescript more than 300 lines HaveASip 494 — 5y
0
HTTP 403 means access forbidden, is your board public? Overscores 381 — 5y
0
HTTP 403 means that a server is rejecting your creditinals, make sure the board is public and all your sending data is in the correct format. Plus you prob want to check the trello API. https://developers.trello.com/v1.0/reference#api-key-tokens MessorAdmin 598 — 5y

Answer this question