Skip to main content

post API request for dropdown list that has logic.

so, response is

error

{

  code: 'VALIDATION_ERROR',

  description: 'The payload is invalid.',

  details: l

    {

      code: 'UNKNOWN_CHOICE_REFERENCE',

      description: 'Invalid choice reference in logic: {#refs} ',

      field: '/logic/0/actions/0/condition/vars/1/value',

      in: 'body'

    }

  ]

}

400

 

There was no error code listed on this site.

https://developer.typeform.com/troubleshooting/

 

Can API update the dropdown list that has logic?

@mathio may be able to help with this one!


Hello. Sorry @Liz I am not familiar with this. Maybe @picsoung used the API before and might know more.


Hello!

I have the same issue and I see the troubleshooting page is still not listing it: https://www.typeform.com/developers/troubleshooting/.

I’m using the update form request (https://www.typeform.com/developers/create/reference/update-form/). Everything is fine but when it comes to the logic part, the “choice” references all end up returning this error, while I’m not even trying to update these. I’m just updating choices on the dropdown fields that are in my form, not touching the logic part of it.

Anyone to help on this one?

Thank you!


Reply