Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Trello API: Trying to edit a card using node.js

Mohamed Marzouk June 11, 2020

So I tried making a trello api that edits the card's description, But i keep getting this error:

Error 400: Bad request
invalid id

 

Here is the current code


Capture.PNG

1 answer

0 votes
Iain Dooley
Community Champion
June 12, 2020

@Mohamed Marzouk I'm not familiar with that ${} string interpolation syntax but it looks to me as thought you're using a variable token that doesn't exist. The CardID and Description are passed in as function arguments but I can't see token defined anywhere.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events