Error while creating automation from custom app

2 Comentários

  • Cheryl Lane


    I took a look and was able to work out your issue, simply switch out your line

    dataType: "json"


    contentType: "application/json"

    (or just add that line to your settings) and your existing code should work.

    And as a bonus, if you change out your console logs to use commas instead of plus signs, the logs will contain the data in an expandable format (instead of showing as [Object object]):

    console.log("Automation created", data);
  • Amit Chinchane

    Hi Cheryl Lane:

    Thanks alot, I followed ur suggestion and it worked . :)


Por favor, entrar para comentar.

Powered by Zendesk