(node:2187391) UnhandledPromiseRejectionWarning: ReferenceError: pool is not defined
    at Request._callback (/home/kaliqcwt/server.kalielltd.co.ke/controllers/mpesacontroller.cjs:57:11)
    at Request.self.callback (/home/kaliqcwt/nodevenv/server.kalielltd.co.ke/14/lib/node_modules/request/request.js:185:22)
    at Request.emit (events.js:400:28)
    at Request.<anonymous> (/home/kaliqcwt/nodevenv/server.kalielltd.co.ke/14/lib/node_modules/request/request.js:1154:10)
    at Request.emit (events.js:400:28)
    at IncomingMessage.<anonymous> (/home/kaliqcwt/nodevenv/server.kalielltd.co.ke/14/lib/node_modules/request/request.js:1076:12)
    at Object.onceWrapper (events.js:519:28)
    at IncomingMessage.emit (events.js:412:35)
    at endReadableNT (internal/streams/readable.js:1333:12)
    at processTicksAndRejections (internal/process/task_queues.js:82:21)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:2187391) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:2187391) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(node:2221641) UnhandledPromiseRejectionWarning: ReferenceError: pool is not defined
    at Request._callback (/home/kaliqcwt/server.kalielltd.co.ke/controllers/mpesacontroller.cjs:57:11)
    at Request.self.callback (/home/kaliqcwt/nodevenv/server.kalielltd.co.ke/14/lib/node_modules/request/request.js:185:22)
    at Request.emit (events.js:400:28)
    at Request.<anonymous> (/home/kaliqcwt/nodevenv/server.kalielltd.co.ke/14/lib/node_modules/request/request.js:1154:10)
    at Request.emit (events.js:400:28)
    at IncomingMessage.<anonymous> (/home/kaliqcwt/nodevenv/server.kalielltd.co.ke/14/lib/node_modules/request/request.js:1076:12)
    at Object.onceWrapper (events.js:519:28)
    at IncomingMessage.emit (events.js:412:35)
    at endReadableNT (internal/streams/readable.js:1333:12)
    at processTicksAndRejections (internal/process/task_queues.js:82:21)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:2221641) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:2221641) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(node:2229362) UnhandledPromiseRejectionWarning: ReferenceError: data is not defined
    at Request._callback (/home/kaliqcwt/server.kalielltd.co.ke/controllers/mpesacontroller.cjs:63:15)
    at Request.self.callback (/home/kaliqcwt/nodevenv/server.kalielltd.co.ke/14/lib/node_modules/request/request.js:185:22)
    at Request.emit (events.js:400:28)
    at Request.<anonymous> (/home/kaliqcwt/nodevenv/server.kalielltd.co.ke/14/lib/node_modules/request/request.js:1154:10)
    at Request.emit (events.js:400:28)
    at IncomingMessage.<anonymous> (/home/kaliqcwt/nodevenv/server.kalielltd.co.ke/14/lib/node_modules/request/request.js:1076:12)
    at Object.onceWrapper (events.js:519:28)
    at IncomingMessage.emit (events.js:412:35)
    at endReadableNT (internal/streams/readable.js:1333:12)
    at processTicksAndRejections (internal/process/task_queues.js:82:21)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:2229362) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:2229362) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Error parsing search response: Cannot read property 'length' of undefined
Error parsing search response: Cannot read property 'length' of undefined
Error sending email: Error: Can't send mail - all recipients were rejected: 550-The mail server could not deliver mail to info@vacamza.net.  The account or
550-domain may not exist, they may be blacklisted, or missing the proper dns
550 entries.
    at SMTPConnection._formatError (/home/kaliqcwt/nodevenv/server.kalielltd.co.ke/14/lib/node_modules/nodemailer/lib/smtp-connection/index.js:798:19)
    at SMTPConnection._actionRCPT (/home/kaliqcwt/nodevenv/server.kalielltd.co.ke/14/lib/node_modules/nodemailer/lib/smtp-connection/index.js:1667:28)
    at SMTPConnection.<anonymous> (/home/kaliqcwt/nodevenv/server.kalielltd.co.ke/14/lib/node_modules/nodemailer/lib/smtp-connection/index.js:1620:30)
    at SMTPConnection._processResponse (/home/kaliqcwt/nodevenv/server.kalielltd.co.ke/14/lib/node_modules/nodemailer/lib/smtp-connection/index.js:982:20)
    at SMTPConnection._onData (/home/kaliqcwt/nodevenv/server.kalielltd.co.ke/14/lib/node_modules/nodemailer/lib/smtp-connection/index.js:763:14)
    at TLSSocket.SMTPConnection._onSocketData (/home/kaliqcwt/nodevenv/server.kalielltd.co.ke/14/lib/node_modules/nodemailer/lib/smtp-connection/index.js:195:44)
    at TLSSocket.emit (events.js:400:28)
    at addChunk (internal/streams/readable.js:293:12)
    at readableAddChunk (internal/streams/readable.js:267:9)
    at TLSSocket.Readable.push (internal/streams/readable.js:206:10) {
  code: 'EENVELOPE',
  response: '550-The mail server could not deliver mail to info@vacamza.net.  The account or\n' +
    '550-domain may not exist, they may be blacklisted, or missing the proper dns\n' +
    '550 entries.',
  responseCode: 550,
  command: 'RCPT TO',
  rejected: [ 'info@vacamza.net' ],
  rejectedErrors: [
    Error: Recipient command failed: 550-The mail server could not deliver mail to info@vacamza.net.  The account or
    550-domain may not exist, they may be blacklisted, or missing the proper dns
    550 entries.
        at SMTPConnection._formatError (/home/kaliqcwt/nodevenv/server.kalielltd.co.ke/14/lib/node_modules/nodemailer/lib/smtp-connection/index.js:798:19)
        at SMTPConnection._actionRCPT (/home/kaliqcwt/nodevenv/server.kalielltd.co.ke/14/lib/node_modules/nodemailer/lib/smtp-connection/index.js:1653:24)
        at SMTPConnection.<anonymous> (/home/kaliqcwt/nodevenv/server.kalielltd.co.ke/14/lib/node_modules/nodemailer/lib/smtp-connection/index.js:1620:30)
        at SMTPConnection._processResponse (/home/kaliqcwt/nodevenv/server.kalielltd.co.ke/14/lib/node_modules/nodemailer/lib/smtp-connection/index.js:982:20)
        at SMTPConnection._onData (/home/kaliqcwt/nodevenv/server.kalielltd.co.ke/14/lib/node_modules/nodemailer/lib/smtp-connection/index.js:763:14)
        at TLSSocket.SMTPConnection._onSocketData (/home/kaliqcwt/nodevenv/server.kalielltd.co.ke/14/lib/node_modules/nodemailer/lib/smtp-connection/index.js:195:44)
        at TLSSocket.emit (events.js:400:28)
        at addChunk (internal/streams/readable.js:293:12)
        at readableAddChunk (internal/streams/readable.js:267:9)
        at TLSSocket.Readable.push (internal/streams/readable.js:206:10) {
      code: 'EENVELOPE',
      response: '550-The mail server could not deliver mail to info@vacamza.net.  The account or\n' +
        '550-domain may not exist, they may be blacklisted, or missing the proper dns\n' +
        '550 entries.',
      responseCode: 550,
      command: 'RCPT TO',
      recipient: 'info@vacamza.net'
    }
  ]
}
Error: Can't send mail - all recipients were rejected: 550-The mail server could not deliver mail to info@vacamza.net.  The account or
550-domain may not exist, they may be blacklisted, or missing the proper dns
550 entries.
    at SMTPConnection._formatError (/home/kaliqcwt/nodevenv/server.kalielltd.co.ke/14/lib/node_modules/nodemailer/lib/smtp-connection/index.js:798:19)
    at SMTPConnection._actionRCPT (/home/kaliqcwt/nodevenv/server.kalielltd.co.ke/14/lib/node_modules/nodemailer/lib/smtp-connection/index.js:1667:28)
    at SMTPConnection.<anonymous> (/home/kaliqcwt/nodevenv/server.kalielltd.co.ke/14/lib/node_modules/nodemailer/lib/smtp-connection/index.js:1620:30)
    at SMTPConnection._processResponse (/home/kaliqcwt/nodevenv/server.kalielltd.co.ke/14/lib/node_modules/nodemailer/lib/smtp-connection/index.js:982:20)
    at SMTPConnection._onData (/home/kaliqcwt/nodevenv/server.kalielltd.co.ke/14/lib/node_modules/nodemailer/lib/smtp-connection/index.js:763:14)
    at TLSSocket.SMTPConnection._onSocketData (/home/kaliqcwt/nodevenv/server.kalielltd.co.ke/14/lib/node_modules/nodemailer/lib/smtp-connection/index.js:195:44)
    at TLSSocket.emit (events.js:400:28)
    at addChunk (internal/streams/readable.js:293:12)
    at readableAddChunk (internal/streams/readable.js:267:9)
    at TLSSocket.Readable.push (internal/streams/readable.js:206:10) {
  code: 'EENVELOPE',
  response: '550-The mail server could not deliver mail to info@vacamza.net.  The account or\n' +
    '550-domain may not exist, they may be blacklisted, or missing the proper dns\n' +
    '550 entries.',
  responseCode: 550,
  command: 'RCPT TO',
  rejected: [ 'info@vacamza.net' ],
  rejectedErrors: [
    Error: Recipient command failed: 550-The mail server could not deliver mail to info@vacamza.net.  The account or
    550-domain may not exist, they may be blacklisted, or missing the proper dns
    550 entries.
        at SMTPConnection._formatError (/home/kaliqcwt/nodevenv/server.kalielltd.co.ke/14/lib/node_modules/nodemailer/lib/smtp-connection/index.js:798:19)
        at SMTPConnection._actionRCPT (/home/kaliqcwt/nodevenv/server.kalielltd.co.ke/14/lib/node_modules/nodemailer/lib/smtp-connection/index.js:1653:24)
        at SMTPConnection.<anonymous> (/home/kaliqcwt/nodevenv/server.kalielltd.co.ke/14/lib/node_modules/nodemailer/lib/smtp-connection/index.js:1620:30)
        at SMTPConnection._processResponse (/home/kaliqcwt/nodevenv/server.kalielltd.co.ke/14/lib/node_modules/nodemailer/lib/smtp-connection/index.js:982:20)
        at SMTPConnection._onData (/home/kaliqcwt/nodevenv/server.kalielltd.co.ke/14/lib/node_modules/nodemailer/lib/smtp-connection/index.js:763:14)
        at TLSSocket.SMTPConnection._onSocketData (/home/kaliqcwt/nodevenv/server.kalielltd.co.ke/14/lib/node_modules/nodemailer/lib/smtp-connection/index.js:195:44)
        at TLSSocket.emit (events.js:400:28)
        at addChunk (internal/streams/readable.js:293:12)
        at readableAddChunk (internal/streams/readable.js:267:9)
        at TLSSocket.Readable.push (internal/streams/readable.js:206:10) {
      code: 'EENVELOPE',
      response: '550-The mail server could not deliver mail to info@vacamza.net.  The account or\n' +
        '550-domain may not exist, they may be blacklisted, or missing the proper dns\n' +
        '550 entries.',
      responseCode: 550,
      command: 'RCPT TO',
      recipient: 'info@vacamza.net'
    }
  ]
}
Error while saving query Error: Column count doesn't match value count at row 1
    at PromisePool.query (/home/kaliqcwt/nodevenv/server.kalielltd.co.ke/14/lib/node_modules/mysql2/promise.js:356:22)
    at saveSTKQuery (/home/kaliqcwt/server.kalielltd.co.ke/controllers/mpesacontroller.cjs:21:16)
    at Request._callback (/home/kaliqcwt/server.kalielltd.co.ke/controllers/mpesacontroller.cjs:89:17)
    at Request.self.callback (/home/kaliqcwt/nodevenv/server.kalielltd.co.ke/14/lib/node_modules/request/request.js:185:22)
    at Request.emit (events.js:400:28)
    at Request.<anonymous> (/home/kaliqcwt/nodevenv/server.kalielltd.co.ke/14/lib/node_modules/request/request.js:1154:10)
    at Request.emit (events.js:400:28)
    at IncomingMessage.<anonymous> (/home/kaliqcwt/nodevenv/server.kalielltd.co.ke/14/lib/node_modules/request/request.js:1076:12)
    at Object.onceWrapper (events.js:519:28)
    at IncomingMessage.emit (events.js:412:35) {
  code: 'ER_WRONG_VALUE_COUNT_ON_ROW',
  errno: 1136,
  sql: `INSERT INTO tbl_payment_requests (pr_phone, pr_amount, pr_reference, pr_requestid, pr_requestdata, pr_bookroomsdata, pr_response) VALUES ('254719578752', 1, 'AO-6NXh3i9j', 'ws_CO_13102024115837314719578752', '{\\"totalAmount\\":306.88,\\"totalGuests\\":1,\\"dates\\":{\\"from\\":\\"2024-12-08\\",\\"to\\":\\"2024-12-10\\"},\\"propertyId\\":\\"19912\\",\\"leadGuest\\":{\\"birthDate\\":\\"1990-07-01\\",\\"contact\\":{\\"address\\":\\"355\\",\\"city\\":\\"Nairobi\\",\\"country\\":\\"KE\\",\\"email\\":\\"info@njoka.net\\",\\"phone\\":\\"+254719578752\\",\\"state\\":\\"Nairobi\\",\\"zip\\":\\"10300\\"},\\"name\\":{\\"first\\":\\"Collins\\",\\"last\\":\\"Njoka\\"},\\"title\\":\\"Mr\\"},\\"rooms\\":[{\\"roomCode\\":\\"SGL\\",\\"rateCode\\":\\"DAY\\",\\"expectedPrice\\":{\\"amount\\":306.88,\\"currency\\":\\"USD\\"},\\"guests\\":[{\\"birthDate\\":\\"1990-07-01\\",\\"contact\\":{\\"address\\":\\"355\\",\\"city\\":\\"Nairobi\\",\\"country\\":\\"KE\\",\\"email\\":\\"info@njoka.net\\",\\"phone\\":\\"+254719578752\\",\\"state\\":\\"Nairobi\\",\\"zip\\":\\"10300\\"},\\"name\\":{\\"first\\":\\"Collins\\",\\"last\\":\\"Njoka\\"},\\"title\\":\\"Mr\\"}],\\"specialRequests\\":[\\"\\"]}],\\"meta\\":[]}', '[{\\"roomId\\":31446,\\"roomCode\\":\\"SGL\\",\\"rateCode\\":\\"DAY\\",\\"expectedPrice\\":{\\"amount\\":39534.74,\\"currency\\":\\"KES\\",\\"amountMain\\":306.88,\\"currencyMain\\":\\"USD\\"},\\"guests\\":[],\\"specialRequests\\":[],\\"mydata\\":{\\"plan\\":{\\"id\\":26340,\\"name\\":\\"Daily 10:00-16:00\\",\\"description\\":\\"This rate-plan is only for daytime use between 10AM to 4PM.\\\\nNon-refundable\\",\\"supportedAriDays\\":null,\\"isPrivate\\":false,\\"pmsCode\\":\\"DAY\\",\\"isPushable\\":false,\\"type\\":\\"virtual\\",\\"baseRateplanId\\":19080,\\"baseRatePlanPmsCode\\":\\"BAR\\",\\"isBar\\":true,\\"settings\\":{\\"priceType\\":\\"net\\",\\"charge\\":\\"agent\\",\\"board\\":{\\"code\\":\\"RO\\",\\"description\\":\\"\\"},\\"status\\":null},\\"tags\\":[],\\"policies\\":[{\\"type\\":\\"general\\",\\"name\\":\\"General\\",\\"id\\":165633,\\"condition\\":{},\\"result\\":{\\"Title\\":\\"DAY USE ONLY\\",\\"Description\\":\\"Please note that this rate applies for daily use between the hours 10:00 and 16:00. it is NOT a nightly rate plan, and the guests should leave their rooms by 16:00 the same day as they checked-in\\"},\\"dates\\":{\\"start\\":null,\\"end\\":null},\\"extraData\\":{}}]},\\"ratePlanData\\":{\\"ratePlanCode\\":\\"DAY\\",\\"ratePlanName\\":\\"Daily 10:00-16:00\\",\\"ratePlanId\\":26340,\\"ratePlanInfo\\":{\\"virtual\\":false,\\"contracts\\":[{\\"contractId\\":537,\\"terms\\":[]}],\\"terms\\":[],\\"originalRatePlanCode\\":\\"DAY\\",\\"isPromotion\\":false,\\"isPackageRate\\":false,\\"isPrivate\\":false,\\"contractId\\":\\"537\\"},\\"board\\":\\"RO\\",\\"payment\\":{\\"charge\\":\\"agent\\",\\"chargeType\\":\\"net\\",\\"chargeAmount\\":{\\"price\\":306.88,\\"currency\\":\\"USD\\",\\"searchCurrency\\":39534.74,\\"billing\\":{\\"price\\":306.88,\\"currency\\":\\"USD\\"},\\"origin\\":{\\"price\\":306.88,\\"currency\\":\\"USD\\"},\\"search\\":{\\"price\\":39534.74,\\"currency\\":\\"KES\\"}}},\\"prices\\":{\\"net\\":{\\"price\\":306.88,\\"searchCurrency\\":39534.74,\\"currency\\":\\"USD\\",\\"taxes\\":[{\\"description\\":\\"India GST of 12% per room per night (Included in price)\\",\\"amount\\":26.88,\\"searchCurrency\\":3462.9,\\"currency\\":\\"USD\\",\\"relation\\":\\"included\\",\\"scope\\":\\"per_room\\",\\"frequency\\":\\"per_night\\",\\"calculation\\":{\\"type\\":\\"percent\\",\\"value\\":12}},{\\"description\\":\\"TESTING DISPLAY TAXES of 10% per night (Not included in price)\\",\\"amount\\":20.36,\\"searchCurrency\\":2622.94,\\"currency\\":\\"USD\\",\\"relation\\":\\"display\\",\\"scope\\":\\"per_stay\\",\\"frequency\\":\\"per_night\\",\\"calculation\\":{\\"type\\":\\"percent\\",\\"value\\":10}},{\\"description\\":\\"TESTING INCLUDED TAXES of 10% per night (Included in price)\\",\\"amount\\":20.36,\\"searchCurrency\\":2622.94,\\"currency\\":\\"USD\\",\\"relation\\":\\"included\\",\\"scope\\":\\"per_stay\\",\\"frequency\\":\\"per_night\\",\\"calculation\\":{\\"type\\":\\"percent\\",\\"value\\":10}},{\\"description\\":\\"TESTING ADD TAXES of 15% per room per night (Included in price)\\",\\"amount\\":33.6,\\"searchCurrency\\":4328.62,\\"currency\\":\\"USD\\",\\"relation\\":\\"included\\",\\"scope\\":\\"per_room\\",\\"frequency\\":\\"per_night\\",\\"calculation\\":{\\"type\\":\\"percent\\",\\"value\\":15}}]},\\"sell\\":{\\"price\\":343.54,\\"searchCurrency\\":44257.57,\\"currency\\":\\"USD\\",\\"taxes\\":[{\\"description\\":\\"India GST of 12% per room per night (Included in price)\\",\\"amount\\":29.08,\\"searchCurrency\\":3746.32,\\"currency\\":\\"USD\\",\\"relation\\":\\"included\\",\\"scope\\":\\"per_room\\",\\"frequency\\":\\"per_night\\",\\"calculation\\":{\\"type\\":\\"percent\\",\\"value\\":12}},{\\"description\\":\\"TESTING DISPLAY TAXES of 10% per night (Not included in price)\\",\\"amount\\":22.04,\\"searchCurrency\\":2839.37,\\"currency\\":\\"USD\\",\\"relation\\":\\"display\\",\\"scope\\":\\"per_stay\\",\\"frequency\\":\\"per_night\\",\\"calculation\\":{\\"type\\":\\"percent\\",\\"value\\":10}},{\\"description\\":\\"TESTING INCLUDED TAXES of 10% per night (Included in price)\\",\\"amount\\":22.04,\\"searchCurrency\\":2839.37,\\"currency\\":\\"USD\\",\\"relation\\":\\"included\\",\\"scope\\":\\"per_stay\\",\\"frequency\\":\\"per_night\\",\\"calculation\\":{\\"type\\":\\"percent\\",\\"value\\":10}},{\\"description\\":\\"TESTING ADD TAXES of 15% per room per night (Included in price)\\",\\"amount\\":36.36,\\"searchCurrency\\":4684.19,\\"currency\\":\\"USD\\",\\"relation\\":\\"included\\",\\"scope\\":\\"per_room\\",\\"frequency\\":\\"per_night\\",\\"calculation\\":{\\"type\\":\\"percent\\",\\"value\\":15}}]},\\"commission\\":{\\"price\\":0,\\"searchCurrency\\":0,\\"currency\\":\\"USD\\"},\\"bar\\":{\\"price\\":253.55,\\"searchCurrency\\":32663.77,\\"currency\\":\\"USD\\"},\\"fees\\":[{\\"description\\":\\"TESTING INCLUDED FEES of 10% per night (Included in price)\\",\\"amount\\":22.04,\\"searchCurrency\\":2839.37,\\"currency\\":\\"USD\\",\\"relation\\":\\"included\\",\\"scope\\":\\"per_stay\\",\\"frequency\\":\\"per_night\\",\\"calculation\\":{\\"type\\":\\"percent\\",\\"value\\":10}},{\\"description\\":\\"TESTING DISPLAY FEES of 15% per room per night (Not included in price)\\",\\"amount\\":31.6,\\"searchCurrency\\":4070.96,\\"currency\\":\\"USD\\",\\"relation\\":\\"display\\",\\"scope\\":\\"per_room\\",\\"frequency\\":\\"per_night\\",\\"calculation\\":{\\"type\\":\\"percent\\",\\"value\\":15}},{\\"description\\":\\"TESTING ADD FEES of 10% per night (Included in price)\\",\\"amount\\":24.24,\\"searchCurrency\\":3122.79,\\"currency\\":\\"USD\\",\\"relation\\":\\"included\\",\\"scope\\":\\"per_stay\\",\\"frequency\\":\\"per_night\\",\\"calculation\\":{\\"type\\":\\"percent\\",\\"value\\":10}}]},\\"remarks\\":[\\"Please note that this rate applies for daily use between the hours 10:00 and 16:00. it is NOT a nightly rate plan, and the guests should leave their rooms by 16:00 the same day as they checked-in\\",\\"This is a general message that should be shown to the user before and after they make a reservation!\\"],\\"cancellationPolicies\\":[{\\"daysBefore\\":999,\\"penaltyType\\":\\"percent\\",\\"amount\\":100}],\\"nightlyBreakdown\\":[{\\"date\\":\\"2024-12-08\\",\\"prices\\":{\\"net\\":{\\"price\\":153.44,\\"searchCurrency\\":19767.37,\\"currency\\":\\"USD\\",\\"taxes\\":[{\\"description\\":\\"India GST of 12% per room per night (Included in price)\\",\\"amount\\":13.44,\\"searchCurrency\\":1731.45,\\"currency\\":\\"USD\\",\\"relation\\":\\"included\\",\\"scope\\":\\"per_room\\",\\"frequency\\":\\"per_night\\",\\"calculation\\":{\\"type\\":\\"percent\\",\\"value\\":12}},{\\"description\\":\\"TESTING DISPLAY TAXES of 10% per night (Not included in price)\\",\\"amount\\":10.18,\\"searchCurrency\\":1311.47,\\"currency\\":\\"USD\\",\\"relation\\":\\"display\\",\\"scope\\":\\"per_stay\\",\\"frequency\\":\\"per_night\\",\\"calculation\\":{\\"type\\":\\"percent\\",\\"value\\":10}},{\\"description\\":\\"TESTING INCLUDED TAXES of 10% per night (Included in price)\\",\\"amount\\":10.18,\\"searchCurrency\\":1311.47,\\"currency\\":\\"USD\\",\\"relation\\":\\"included\\",\\"scope\\":\\"per_stay\\",\\"frequency\\":\\"per_night\\",\\"calculation\\":{\\"type\\":\\"percent\\",\\"value\\":10}},{\\"description\\":\\"TESTING ADD TAXES of 15% per room per night (Included in price)\\",\\"amount\\":16.8,\\"searchCurrency\\":2164.31,\\"currency\\":\\"USD\\",\\"relation\\":\\"included\\",\\"scope\\":\\"per_room\\",\\"frequency\\":\\"per_night\\",\\"calculation\\":{\\"type\\":\\"percent\\",\\"value\\":15}}]},\\"sell\\":{\\"price\\":171.77,\\"searchCurrency\\":22128.79,\\"currency\\":\\"USD\\",\\"taxes\\":[{\\"description\\":\\"India GST of 12% per room per night (Included in price)\\",\\"amount\\":14.54,\\"searchCurrency\\":1873.16,\\"currency\\":\\"USD\\",\\"relation\\":\\"included\\",\\"scope\\":\\"per_room\\",\\"frequency\\":\\"per_night\\",\\"calculation\\":{\\"type\\":\\"percent\\",\\"value\\":12}},{\\"description\\":\\"TESTING DISPLAY TAXES of 10% per night (Not included in price)\\",\\"amount\\":11.02,\\"searchCurrency\\":1419.68,\\"currency\\":\\"USD\\",\\"relation\\":\\"display\\",\\"scope\\":\\"per_stay\\",\\"frequency\\":\\"per_night\\",\\"calculation\\":{\\"type\\":\\"percent\\",\\"value\\":10}},{\\"description\\":\\"TESTING INCLUDED TAXES of 10% per night (Included in price)\\",\\"amount\\":11.02,\\"searchCurrency\\":1419.68,\\"currency\\":\\"USD\\",\\"relation\\":\\"included\\",\\"scope\\":\\"per_stay\\",\\"frequency\\":\\"per_night\\",\\"calculation\\":{\\"type\\":\\"percent\\",\\"value\\":10}},{\\"description\\":\\"TESTING ADD TAXES of 15% per room per night (Included in price)\\",\\"amount\\":18.18,\\"searchCurrency\\":2342.09,\\"currency\\":\\"USD\\",\\"relation\\":\\"included\\",\\"scope\\":\\"per_room\\",\\"frequency\\":\\"per_night\\",\\"calculation\\":{\\"type\\":\\"percent\\",\\"value\\":15}}]},\\"commission\\":{\\"price\\":0,\\"searchCurrency\\":0,\\"currency\\":\\"USD\\"},\\"bar\\":{\\"price\\":126.77,\\"searchCurrency\\":16331.53,\\"currency\\":\\"USD\\"},\\"fees\\":[{\\"description\\":\\"TESTING INCLUDED FEES of 10% per night (Included in price)\\",\\"amount\\":11.02,\\"searchCurrency\\":1419.68,\\"currency\\":\\"USD\\",\\"relation\\":\\"included\\",\\"scope\\":\\"per_stay\\",\\"frequency\\":\\"per_night\\",\\"calculation\\":{\\"type\\":\\"percent\\",\\"value\\":10}},{\\"description\\":\\"TESTING DISPLAY FEES of 15% per room per night (Not included in price)\\",\\"amount\\":15.8,\\"searchCurrency\\":2035.48,\\"currency\\":\\"USD\\",\\"relation\\":\\"display\\",\\"scope\\":\\"per_room\\",\\"frequency\\":\\"per_night\\",\\"calculation\\":{\\"type\\":\\"percent\\",\\"value\\":15}},{\\"description\\":\\"TESTING ADD FEES of 10% per night (Included in price)\\",\\"amount\\":12.12,\\"searchCurrency\\":1561.4,\\"currency\\":\\"USD\\",\\"relation\\":\\"included\\",\\"scope\\":\\"per_stay\\",\\"frequency\\":\\"per_night\\",\\"calculation\\":{\\"type\\":\\"percent\\",\\"value\\":10}}]}},{\\"date\\":\\"2024-12-09\\",\\"prices\\":{\\"net\\":{\\"price\\":153.44,\\"searchCurrency\\":19767.37,\\"currency\\":\\"USD\\",\\"taxes\\":[{\\"description\\":\\"India GST of 12% per room per night (Included in price)\\",\\"amount\\":13.44,\\"searchCurrency\\":1731.45,\\"currency\\":\\"USD\\",\\"relation\\":\\"included\\",\\"scope\\":\\"per_room\\",\\"frequency\\":\\"per_night\\",\\"calculation\\":{\\"type\\":\\"percent\\",\\"value\\":12}},{\\"description\\":\\"TESTING DISPLAY TAXES of 10% per night (Not included in price)\\",\\"amount\\":10.18,\\"searchCurrency\\":1311.47,\\"currency\\":\\"USD\\",\\"relation\\":\\"display\\",\\"scope\\":\\"per_stay\\",\\"frequency\\":\\"per_night\\",\\"calculation\\":{\\"type\\":\\"percent\\",\\"value\\":10}},{\\"description\\":\\"TESTING INCLUDED TAXES of 10% per night (Included in price)\\",\\"amount\\":10.18,\\"searchCurrency\\":1311.47,\\"currency\\":\\"USD\\",\\"relation\\":\\"included\\",\\"scope\\":\\"per_stay\\",\\"frequency\\":\\"per_night\\",\\"calculation\\":{\\"type\\":\\"percent\\",\\"value\\":10}},{\\"description\\":\\"TESTING ADD TAXES of 15% per room per night (Included in price)\\",\\"amount\\":16.8,\\"searchCurrency\\":2164.31,\\"currency\\":\\"USD\\",\\"relation\\":\\"included\\",\\"scope\\":\\"per_room\\",\\"frequency\\":\\"per_night\\",\\"calculation\\":{\\"type\\":\\"percent\\",\\"value\\":15}}]},\\"sell\\":{\\"price\\":171.77,\\"searchCurrency\\":22128.79,\\"currency\\":\\"USD\\",\\"taxes\\":[{\\"description\\":\\"India GST of 12% per room per night (Included in price)\\",\\"amount\\":14.54,\\"searchCurrency\\":1873.16,\\"currency\\":\\"USD\\",\\"relation\\":\\"included\\",\\"scope\\":\\"per_room\\",\\"frequency\\":\\"per_night\\",\\"calculation\\":{\\"type\\":\\"percent\\",\\"value\\":12}},{\\"description\\":\\"TESTING DISPLAY TAXES of 10% per night (Not included in price)\\",\\"amount\\":11.02,\\"searchCurrency\\":1419.68,\\"currency\\":\\"USD\\",\\"relation\\":\\"display\\",\\"scope\\":\\"per_stay\\",\\"frequency\\":\\"per_night\\",\\"calculation\\":{\\"type\\":\\"percent\\",\\"value\\":10}},{\\"description\\":\\"TESTING INCLUDED TAXES of 10% per night (Included in price)\\",\\"amount\\":11.02,\\"searchCurrency\\":1419.68,\\"currency\\":\\"USD\\",\\"relation\\":\\"included\\",\\"scope\\":\\"per_stay\\",\\"frequency\\":\\"per_night\\",\\"calculation\\":{\\"type\\":\\"percent\\",\\"value\\":10}},{\\"description\\":\\"TESTING ADD TAXES of 15% per room per night (Included in price)\\",\\"amount\\":18.18,\\"searchCurrency\\":2342.09,\\"currency\\":\\"USD\\",\\"relation\\":\\"included\\",\\"scope\\":\\"per_room\\",\\"frequency\\":\\"per_night\\",\\"calculation\\":{\\"type\\":\\"percent\\",\\"value\\":15}}]},\\"commission\\":{\\"price\\":0,\\"searchCurrency\\":0,\\"currency\\":\\"USD\\"},\\"bar\\":{\\"price\\":126.77,\\"searchCurrency\\":16331.53,\\"currency\\":\\"USD\\"},\\"fees\\":[{\\"description\\":\\"TESTING INCLUDED FEES of 10% per night (Included in price)\\",\\"amount\\":11.02,\\"searchCurrency\\":1419.68,\\"currency\\":\\"USD\\",\\"relation\\":\\"included\\",\\"scope\\":\\"per_stay\\",\\"frequency\\":\\"per_night\\",\\"calculation\\":{\\"type\\":\\"percent\\",\\"value\\":10}},{\\"description\\":\\"TESTING DISPLAY FEES of 15% per room per night (Not included in price)\\",\\"amount\\":15.8,\\"searchCurrency\\":2035.48,\\"currency\\":\\"USD\\",\\"relation\\":\\"display\\",\\"scope\\":\\"per_room\\",\\"frequency\\":\\"per_night\\",\\"calculation\\":{\\"type\\":\\"percent\\",\\"value\\":15}},{\\"description\\":\\"TESTING ADD FEES of 10% per night (Included in price)\\",\\"amount\\":12.12,\\"searchCurrency\\":1561.4,\\"currency\\":\\"USD\\",\\"relation\\":\\"included\\",\\"scope\\":\\"per_stay\\",\\"frequency\\":\\"per_night\\",\\"calculation\\":{\\"type\\":\\"percent\\",\\"value\\":10}}]}}],\\"isImmediate\\":true}}}]')`,
  sqlState: '21S01',
  sqlMessage: "Column count doesn't match value count at row 1"
}
SyntaxError: Unexpected token o in JSON at position 1
    at JSON.parse (<anonymous>)
    at parse (/home/kaliqcwt/nodevenv/server.kalielltd.co.ke/14/lib/node_modules/body-parser/lib/types/json.js:89:19)
    at /home/kaliqcwt/nodevenv/server.kalielltd.co.ke/14/lib/node_modules/body-parser/lib/read.js:128:18
    at AsyncResource.runInAsyncScope (async_hooks.js:197:9)
    at invokeCallback (/home/kaliqcwt/nodevenv/server.kalielltd.co.ke/14/lib/node_modules/raw-body/index.js:231:16)
    at done (/home/kaliqcwt/nodevenv/server.kalielltd.co.ke/14/lib/node_modules/raw-body/index.js:220:7)
    at IncomingMessage.onEnd (/home/kaliqcwt/nodevenv/server.kalielltd.co.ke/14/lib/node_modules/raw-body/index.js:280:7)
    at IncomingMessage.emit (events.js:412:35)
    at endReadableNT (internal/streams/readable.js:1333:12)
    at processTicksAndRejections (internal/process/task_queues.js:82:21)
SyntaxError: Unexpected token o in JSON at position 1
    at JSON.parse (<anonymous>)
    at parse (/home/kaliqcwt/nodevenv/server.kalielltd.co.ke/14/lib/node_modules/body-parser/lib/types/json.js:89:19)
    at /home/kaliqcwt/nodevenv/server.kalielltd.co.ke/14/lib/node_modules/body-parser/lib/read.js:128:18
    at AsyncResource.runInAsyncScope (async_hooks.js:197:9)
    at invokeCallback (/home/kaliqcwt/nodevenv/server.kalielltd.co.ke/14/lib/node_modules/raw-body/index.js:231:16)
    at done (/home/kaliqcwt/nodevenv/server.kalielltd.co.ke/14/lib/node_modules/raw-body/index.js:220:7)
    at IncomingMessage.onEnd (/home/kaliqcwt/nodevenv/server.kalielltd.co.ke/14/lib/node_modules/raw-body/index.js:280:7)
    at IncomingMessage.emit (events.js:412:35)
    at endReadableNT (internal/streams/readable.js:1333:12)
    at processTicksAndRejections (internal/process/task_queues.js:82:21)
Error while creating booking TypeError: Cannot destructure property 'pr_requestdata' of 'prData[0]' as it is undefined.
    at /home/kaliqcwt/server.kalielltd.co.ke/controllers/hyperguestcontroller.cjs:635:15
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
Error: options.uri is a required argument
    at Request.init (/home/kaliqcwt/nodevenv/server.kalielltd.co.ke/14/lib/node_modules/request/request.js:231:31)
    at new Request (/home/kaliqcwt/nodevenv/server.kalielltd.co.ke/14/lib/node_modules/request/request.js:127:8)
    at request (/home/kaliqcwt/nodevenv/server.kalielltd.co.ke/14/lib/node_modules/request/index.js:53:10)
    at /home/kaliqcwt/server.kalielltd.co.ke/controllers/hyperguestcontroller.cjs:671:7
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
(node:503388) UnhandledPromiseRejectionWarning: ReferenceError: datetime is not defined
    at Request._callback (/home/kaliqcwt/server.kalielltd.co.ke/controllers/hyperguestcontroller.cjs:681:16)
    at self.callback (/home/kaliqcwt/nodevenv/server.kalielltd.co.ke/14/lib/node_modules/request/request.js:185:22)
    at Request.emit (events.js:400:28)
    at Request.init (/home/kaliqcwt/nodevenv/server.kalielltd.co.ke/14/lib/node_modules/request/request.js:231:17)
    at new Request (/home/kaliqcwt/nodevenv/server.kalielltd.co.ke/14/lib/node_modules/request/request.js:127:8)
    at request (/home/kaliqcwt/nodevenv/server.kalielltd.co.ke/14/lib/node_modules/request/index.js:53:10)
    at /home/kaliqcwt/server.kalielltd.co.ke/controllers/hyperguestcontroller.cjs:671:8
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:503388) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:503388) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Error: options.uri is a required argument
    at Request.init (/home/kaliqcwt/nodevenv/server.kalielltd.co.ke/14/lib/node_modules/request/request.js:231:31)
    at new Request (/home/kaliqcwt/nodevenv/server.kalielltd.co.ke/14/lib/node_modules/request/request.js:127:8)
    at request (/home/kaliqcwt/nodevenv/server.kalielltd.co.ke/14/lib/node_modules/request/index.js:53:10)
    at /home/kaliqcwt/server.kalielltd.co.ke/controllers/hyperguestcontroller.cjs:671:8
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
Error: options.uri is a required argument
    at Request.init (/home/kaliqcwt/nodevenv/server.kalielltd.co.ke/14/lib/node_modules/request/request.js:231:31)
    at new Request (/home/kaliqcwt/nodevenv/server.kalielltd.co.ke/14/lib/node_modules/request/request.js:127:8)
    at request (/home/kaliqcwt/nodevenv/server.kalielltd.co.ke/14/lib/node_modules/request/index.js:53:10)
    at /home/kaliqcwt/server.kalielltd.co.ke/controllers/hyperguestcontroller.cjs:671:8
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
Error: options.uri is a required argument
    at Request.init (/home/kaliqcwt/nodevenv/server.kalielltd.co.ke/14/lib/node_modules/request/request.js:231:31)
    at new Request (/home/kaliqcwt/nodevenv/server.kalielltd.co.ke/14/lib/node_modules/request/request.js:127:8)
    at request (/home/kaliqcwt/nodevenv/server.kalielltd.co.ke/14/lib/node_modules/request/index.js:53:10)
    at /home/kaliqcwt/server.kalielltd.co.ke/controllers/hyperguestcontroller.cjs:671:8
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
Error parsing booking response: datetime is not defined
Error while getting booking data TypeError: Cannot read property 'propertyId' of undefined
    at /home/kaliqcwt/server.kalielltd.co.ke/controllers/hyperguestcontroller.cjs:538:59
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
Error while getting booking data TypeError: Cannot read property 'propertyId' of undefined
    at /home/kaliqcwt/server.kalielltd.co.ke/controllers/hyperguestcontroller.cjs:538:59
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
Error while getting booking data TypeError: Cannot read property 'propertyId' of undefined
    at /home/kaliqcwt/server.kalielltd.co.ke/controllers/hyperguestcontroller.cjs:538:59
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
Error while getting booking data TypeError: Cannot read property 'propertyId' of undefined
    at /home/kaliqcwt/server.kalielltd.co.ke/controllers/hyperguestcontroller.cjs:538:59
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
Error while getting booking data TypeError: Cannot read property 'propertyId' of undefined
    at /home/kaliqcwt/server.kalielltd.co.ke/controllers/hyperguestcontroller.cjs:538:59
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
Error while getting booking data TypeError: Cannot read property 'propertyId' of undefined
    at /home/kaliqcwt/server.kalielltd.co.ke/controllers/hyperguestcontroller.cjs:538:59
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
Error while getting booking data TypeError: Cannot read property 'propertyId' of undefined
    at /home/kaliqcwt/server.kalielltd.co.ke/controllers/hyperguestcontroller.cjs:538:59
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
(node:567246) UnhandledPromiseRejectionWarning: ReferenceError: propertyId is not defined
    at /home/kaliqcwt/server.kalielltd.co.ke/controllers/hyperguestcontroller.cjs:555:9
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:567246) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:567246) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Error while getting booking data TypeError: Cannot read property 'propertyId' of undefined
    at /home/kaliqcwt/server.kalielltd.co.ke/controllers/hyperguestcontroller.cjs:538:59
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
(node:567246) UnhandledPromiseRejectionWarning: ReferenceError: propertyId is not defined
    at /home/kaliqcwt/server.kalielltd.co.ke/controllers/hyperguestcontroller.cjs:555:9
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
(node:567246) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
Error while getting booking data TypeError: Cannot read property 'propertyId' of undefined
    at /home/kaliqcwt/server.kalielltd.co.ke/controllers/hyperguestcontroller.cjs:538:59
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
(node:568582) UnhandledPromiseRejectionWarning: ReferenceError: propertyId is not defined
    at /home/kaliqcwt/server.kalielltd.co.ke/controllers/hyperguestcontroller.cjs:555:9
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:568582) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:568582) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Error while getting booking data TypeError: Cannot read property 'propertyId' of undefined
    at /home/kaliqcwt/server.kalielltd.co.ke/controllers/hyperguestcontroller.cjs:538:59
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
(node:568582) UnhandledPromiseRejectionWarning: ReferenceError: propertyId is not defined
    at /home/kaliqcwt/server.kalielltd.co.ke/controllers/hyperguestcontroller.cjs:555:9
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
(node:568582) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
Error while getting booking data TypeError: Cannot read property 'propertyId' of undefined
    at /home/kaliqcwt/server.kalielltd.co.ke/controllers/hyperguestcontroller.cjs:538:59
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
(node:568582) UnhandledPromiseRejectionWarning: ReferenceError: propertyId is not defined
    at /home/kaliqcwt/server.kalielltd.co.ke/controllers/hyperguestcontroller.cjs:555:9
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
(node:568582) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 3)
Error while getting booking data TypeError: Cannot read property 'propertyId' of undefined
    at /home/kaliqcwt/server.kalielltd.co.ke/controllers/hyperguestcontroller.cjs:538:59
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
(node:572052) UnhandledPromiseRejectionWarning: ReferenceError: bookingData is not defined
    at /home/kaliqcwt/server.kalielltd.co.ke/controllers/hyperguestcontroller.cjs:555:9
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:572052) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:572052) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Error while getting booking data TypeError: Cannot read property 'propertyId' of undefined
    at /home/kaliqcwt/server.kalielltd.co.ke/controllers/hyperguestcontroller.cjs:538:59
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
(node:572052) UnhandledPromiseRejectionWarning: ReferenceError: bookingData is not defined
    at /home/kaliqcwt/server.kalielltd.co.ke/controllers/hyperguestcontroller.cjs:555:9
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
(node:572052) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
Error while getting booking data TypeError: Cannot read property 'propertyId' of undefined
    at /home/kaliqcwt/server.kalielltd.co.ke/controllers/hyperguestcontroller.cjs:538:59
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
(node:572052) UnhandledPromiseRejectionWarning: ReferenceError: bookingData is not defined
    at /home/kaliqcwt/server.kalielltd.co.ke/controllers/hyperguestcontroller.cjs:555:9
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
(node:572052) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 3)
Error while getting booking data TypeError: Cannot read property 'propertyId' of undefined
    at /home/kaliqcwt/server.kalielltd.co.ke/controllers/hyperguestcontroller.cjs:538:59
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
(node:572052) UnhandledPromiseRejectionWarning: ReferenceError: bookingData is not defined
    at /home/kaliqcwt/server.kalielltd.co.ke/controllers/hyperguestcontroller.cjs:555:9
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
(node:572052) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 4)
Error while getting booking data TypeError: Cannot read property 'propertyId' of undefined
    at /home/kaliqcwt/server.kalielltd.co.ke/controllers/hyperguestcontroller.cjs:538:59
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
(node:572052) UnhandledPromiseRejectionWarning: ReferenceError: bookingData is not defined
    at /home/kaliqcwt/server.kalielltd.co.ke/controllers/hyperguestcontroller.cjs:555:9
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
(node:572052) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 5)
Error while getting booking data TypeError: Cannot read property 'propertyId' of undefined
    at /home/kaliqcwt/server.kalielltd.co.ke/controllers/hyperguestcontroller.cjs:556:59
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
Error while getting booking data TypeError: Cannot read property 'propertyId' of undefined
    at /home/kaliqcwt/server.kalielltd.co.ke/controllers/hyperguestcontroller.cjs:556:59
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
Error while getting booking data TypeError: Cannot read property 'propertyId' of undefined
    at /home/kaliqcwt/server.kalielltd.co.ke/controllers/hyperguestcontroller.cjs:556:59
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
Error while getting booking data TypeError: Cannot read property 'propertyId' of undefined
    at /home/kaliqcwt/server.kalielltd.co.ke/controllers/hyperguestcontroller.cjs:556:59
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
Error parsing search response: Cannot read property 'filter' of undefined
TypeError: Cannot read property 'c_email' of undefined
    at resetUser (/home/kaliqcwt/server.kalielltd.co.ke/controllers/authcontroller.cjs:216:16)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
Error parsing search response: Cannot read property 'filter' of undefined
Error parsing search response: Cannot read property 'filter' of undefined
Unexpected error in getHotelIDs: TypeError: Cannot read property 'toLowerCase' of undefined
    at /home/kaliqcwt/server.kalielltd.co.ke/controllers/hyperguestcontroller.cjs:64:54
    at Array.filter (<anonymous>)
    at getHotelIDs (/home/kaliqcwt/server.kalielltd.co.ke/controllers/hyperguestcontroller.cjs:63:8)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at async searchProperty (/home/kaliqcwt/server.kalielltd.co.ke/controllers/hyperguestcontroller.cjs:82:25)
Error in the search request: Cannot read property 'toLowerCase' of undefined
Unexpected error in getHotelIDs: TypeError: Cannot read property 'toLowerCase' of undefined
    at /home/kaliqcwt/server.kalielltd.co.ke/controllers/hyperguestcontroller.cjs:64:54
    at Array.filter (<anonymous>)
    at getHotelIDs (/home/kaliqcwt/server.kalielltd.co.ke/controllers/hyperguestcontroller.cjs:63:8)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at async searchProperty (/home/kaliqcwt/server.kalielltd.co.ke/controllers/hyperguestcontroller.cjs:82:25)
Error in the search request: Cannot read property 'toLowerCase' of undefined
Unexpected error in getHotelIDs: TypeError: Cannot read property 'toLowerCase' of undefined
    at /home/kaliqcwt/server.kalielltd.co.ke/controllers/hyperguestcontroller.cjs:64:54
    at Array.filter (<anonymous>)
    at getHotelIDs (/home/kaliqcwt/server.kalielltd.co.ke/controllers/hyperguestcontroller.cjs:63:8)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at async searchProperty (/home/kaliqcwt/server.kalielltd.co.ke/controllers/hyperguestcontroller.cjs:82:25)
Error in the search request: Cannot read property 'toLowerCase' of undefined
Error parsing search response: Cannot read property 'filter' of undefined
Error parsing search response: Cannot read property 'length' of undefined
Error parsing search response: Cannot read property 'length' of undefined
TypeError: Cannot read property 'c_email' of undefined
    at resetUser (/home/kaliqcwt/server.kalielltd.co.ke/controllers/authcontroller.cjs:216:16)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
TypeError: Cannot read property 'c_email' of undefined
    at resetUser (/home/kaliqcwt/server.kalielltd.co.ke/controllers/authcontroller.cjs:216:16)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
Error parsing search response: Cannot read property 'length' of undefined
Error parsing search response: Cannot read property 'length' of undefined
Error parsing search response: Cannot read property 'length' of undefined
Error parsing search response: Cannot read property 'filter' of undefined
Error parsing search response: Cannot read property 'filter' of undefined
Error parsing search response: Cannot read property 'filter' of undefined
Error parsing search response: Cannot read property 'filter' of undefined
Error parsing search response: Cannot read property 'filter' of undefined
Error parsing search response: Cannot read property 'filter' of undefined
Error parsing search response: Cannot read property 'filter' of undefined
Error parsing search response: Cannot read property 'filter' of undefined
Error parsing search response: Cannot read property 'filter' of undefined
Error parsing search response: Cannot read property 'filter' of undefined
Error parsing search response: Cannot read property 'filter' of undefined
Error parsing search response: Cannot read property 'filter' of undefined
Error parsing search response: Cannot read property 'filter' of undefined
Error parsing search response: Cannot read property 'filter' of undefined
