name: 'FreshdeskError', message: 'Validation failed',

get this error while creation of ticket in nodejs



freshdesk { Error

    at new FreshdeskError (/home/mg-152/sites/rnd-projects/freshdesk/node_modules/node-freshdesk-api/lib/utils.js:34:16)

    at Request._callback (/home/mg-152/sites/rnd-projects/freshdesk/node_modules/node-freshdesk-api/lib/utils.js:84:14)

    at Request.self.callback (/home/mg-152/sites/rnd-projects/freshdesk/node_modules/request/request.js:188:22)

    at emitTwo (events.js:125:13)

    at Request.emit (events.js:213:7)

    at Request.<anonymous> (/home/mg-152/sites/rnd-projects/freshdesk/node_modules/request/request.js:1171:10)

    at emitOne (events.js:115:13)

    at Request.emit (events.js:210:7)

    at IncomingMessage.<anonymous> (/home/mg-152/sites/rnd-projects/freshdesk/node_modules/request/request.js:1091:12)

    at Object.onceWrapper (events.js:314:30)

  name: 'FreshdeskError',

  message: 'Validation failed',

  stack: 'Error\n at new FreshdeskError (/home/mg-152/sites/rnd-projects/freshdesk/node_modules/node-freshdesk-api/lib/utils.js:34:16)\n at Request._callback (/home/mg-152/sites/rnd-projects/freshdesk/node_modules/node-freshdesk-api/lib/utils.js:84:14)\n at Request.self.callback (/home/mg-152/sites/rnd-projects/freshdesk/node_modules/request/request.js:188:22)\n at emitTwo (events.js:125:13)\n at Request.emit (events.js:213:7)\n at Request.<anonymous> (/home/mg-152/sites/rnd-projects/freshdesk/node_modules/request/request.js:1171:10)\n at emitOne (events.js:115:13)\n at Request.emit (events.js:210:7)\n at IncomingMessage.<anonymous> (/home/mg-152/sites/rnd-projects/freshdesk/node_modules/request/request.js:1091:12)\n at Object.onceWrapper (events.js:314:30)',

  data: { description: 'Validation failed', errors: [ [Object] ] } }



1 person has this question
Login or Signup to post a comment