<Response [422]> "error":"Unprocessable Entity" when trying to create_many dynamic content variants

2 댓글

  • Eric Nelson
    Zendesk Developer Advocacy

    Hey Willie,

    Having your boolean's capitalized on "active" and "default" isn't valid json. If you switch those to lowercase you should be all set.

    Have a wonderful day!

    Eric Nelson | Manager - Developer Advocacy

  • Willie

    Thanks Eric! That was exactly what I needed.

    For any future readers:

    In python, I was using json.loads() on a formatted string, which capitalized the boolean values, and tried to pass that as data to the post function. Passing the string in directly did the trick.


댓글을 남기려면 로그인하세요.

Zendesk 제공