function EditCardDesc(Desc,CardId)
local url = "https://api.trello.com/1/cards/"..CardId.."/desc"..Access
local CardInfo = {value=Desc}
local Data=Http:JSONEncode(CardInfo)
local Response=Http:PostAsync(url,Data)
return Http:JSONDecode(Response)
end

EditCardDesc("Donuts","******")

This Function is suppose to Change a Description in a card. It errors. Why?

Output:

20:00:21.562 - HTTP 404 (HTTP/1.1 404 Not Found)

5 comments

0

Im going to assume in line 9, in you have an actual ID, correct?

0

Yeah.

0

Lmao non-existent URL.

0

Have you definitely got HTTPService enabled?

0

I'd use the TrelloAPI by nstrike159. It's really good, and has several in-built functions. If you need more info, feel free to ask.