New: Nitro Boost our Discord server and receive full donation perks here on the website! Join the Scripting Helpers Discord Server to learn more! You can also Support on Patreon as always.
Ad
Still have questions? Join our Discord server and get real time help.
Log in to vote
0

I am trying to connect Roblox via Trello without the API. Getting a error?

Asked by 8 days ago
script.Parent.MouseButton1Click:connect(function() 
local plr = script.Parent.Parent.Parent.Parent.Parent
local http = game:GetService("HttpService")
local boardid = "5d9e187c4dba621cb9aa4fa8" --yourboardid, ya know?
local desc = "Hi"
local Key = ""
local Token = ""

http:PostAsync('https://api.trello.com/1/cards?name='.. plr.Name..'&idList='..boardid..' &keepFromSource=all&key='..Key..'&token='..Token)
end)

I am getting the following error


18:28:42.547 - Argument 2 missing or nil 18:28:42.548 - Stack Begin 18:28:42.548 - Script 'Players.DennisSense.PlayerGui.ScreenGui.Frame.TextButton.Script', Line 14 18:28:42.548 - Stack End

I know I am missing the key and token, I removed it for security reasons.

0
I don't know much about http but I know enough that you cant send stuff like that just using PostAsync() You are probably missing some data packet which is why it is erroring. voidofdeathfire 107 — 8d
0
Argument missing or nil means there is a mandatory argument from the metamethod that isn't specified. In this case, it's the data you want to send through that URL Feahren 1746 — 8d

Answer this question