Trello script pausing

I am making a Trello system for a hotel. But when I run the script, it pauses and doesn’t do anything. I am using @nstrike159 's API for this.
I’ve tried several Youtube videos, and all of them haven’t worked. I have the correct token in the script. I have allowed the Roblox API in Trello. I have HTTPS Service enabled. I have tried it both in studio and out.

Here is my code:

local API = require(game.ServerScriptService:WaitForChild('TrelloAPI'))
local board = API:GetBoardID(board name is here but I censored it out)
local list = API:GetListID(list name is here but I censored it out)

while wait() do
local cards = API:GetCardsInList(list)
print(cards)
end

I think it may be because of how many times you are running a request, try running it outside of the while wait() loop.

Roblox has a limit to request count’s, and you may be rate limited.

There’s a request limit for HTTP requests, I believe its 500 a minute.

Hmmm it still doesn’t work. I just tried enabling the example script included with the model, but even that one didn’t work. Could it be something with the game?

Go to game settings in studio and check if you have HTTP requests enabled

Yep I already have it enabled.

image

Does it print any errors or just doesn’t work in general?

Nope, no errors. It pauses when I want to get the board name.

Two things that could have happened.

A: Your board isnt public. API’s requires your board to be public.
B: The api script is outdated. Not really sure about trello because I’ve learned from using RobloxAPI. I usually make a proxy server which makes things really easier.

A: The board is public.
B: What is a proxy server?

A proxy sever is your own server you have hosted on glitch or repl.it which you can transfer data. I use it for all my roblox data grabbing. once I request (GET) from roblox it will get the info I need from trello and forward it back to roblox.

Sounds complicated. Thank you for your help.

1 Like

Just figured it out. I was using the token for the key. Thanks for your help.

Ah! No problem. Glad you got it fixed.