Question

Trello hit an error: The app returned "invalid id"

  • 18 April 2023
  • 2 replies
  • 477 views

Hi Zapier community! 


I’m trying to create the following basic automation:

  1. Form submitted
  2. Create Trello card

Form fields are then mapped to Trello custom fields. I also have a list of existing labels, lets say “A”, “B”, and “C”. When “A” submits a form, Zapier should create a card and apply the existing “A” label.


This is how I set it up in the 2nd step:
 

 

However, this throws an error: "Error: Invalid Value for Value"

So, I followed the help article as well as some community posts, and added a “find label” and “add label” to my zap instead.

 

 

 

 

Steps 1, 2, and 3 run successfully, but it’s failing on the last step of adding the label with the error message “invalid ID:
 

It looks like Zapier isn’t able to find the correct label based on the label ID from step 3. 

 

Not really sure what I’m missing here. Any help would be appreciated!
​​​​​​​


This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

2 replies

Userlevel 7
Badge +11

Hi @Hhum, welcome to the Community! 🙂


Ah, I think I can see what’s causing that error. In the Add Label to Card action (step 4), it seems the Name has been selected instead of the card’s ID number.

To fix it: 

  • Head over to Add Label to Card action in the Zap. 
  • In the Card field, remove the currently selected Name field.
  • Then select the ID field from the Create Card action (step 2) instead.


That ID field should provide the necessary ID for the card it’s attempting to add a label to.

Can you give that a go and let us know whether that sorts it?

Userlevel 6
Badge +6

Hey @Hhum ,

 

In Action 4, replace Card Name with Card Id. You can get Card from above actions

 

Let me know how it goes.