Skip to main content
Question

Asana error: multi_enum_values: [0]: Not the correct type (HTTP Status Code: 400)

  • 25 July 2024
  • 3 replies
  • 32 views

Hi! I’m trying to use webhooks to set the value of a multi enum Asana field. I have the following code:

unflatten

yes

method

PUT

url

https://app.asana.com/api/1.0/tasks/xxxxx

data

{ "data":{ "custom_fields":{ "GID of Custom Field":"GID of option" } } }

headers

Content-type

application/json

Authorization

Bearer xxxxxxx

 

And am getting this error: multi_enum_values: e0]: Not the correct type (HTTP Status Code: 400). I’m thinking it might have to do with how multi enum values need to be sent over to Asana, but not sure what the problem is?

3 replies

Userlevel 7
Badge +14

Hi @ktoland 

For us to have true context, post screenshots with how your Zap step is configured in EDIT mode.

Also, link to the API docs that you used to configure the Zap step.

Hi @Troy Tessalone , here is how that step is set up.

 

Userlevel 7
Badge +14

@ktoland 

Looks like you may be passing the same value (left side) as the custom field GUID (right side).

 

 

 

 

Reply