Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Help needed with butler API

Frost May 22, 2023

Hello!

I'm trying to set up an automation rule, where if a label called "Complete" is assigned to a card, it's cover is set to full green. I have created a Power-Up for myself, and using the API and Token found in the dashboard, set up the following Trello rule:

when the dark lime "Complete" label is added to a card by anyone,
put to url "https://api.trello.com/1/cards/{cardid}" with payload "{\"key\" : \"################################\",\"token\" : \"################################################################",\"cover\" : {\"color\" : \"green\",\"size\" : \"full\" }}"

Unfortunately, when I assign the label, I get the following error message:

There was an error requesting the URL https://api.trello.com/1/cards/0ybE1La2:

401 invalid token

I understand the issue is the token, but I have no idea how to fix it, does anyone know?

1 answer

1 accepted

0 votes
Answer accepted
Frost May 22, 2023

Nevermind, I simply copied the wrong thing from the trello powerup dashboard. I have to say, it's pretty confusing

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events