[08:00:55.000] INFO: HTTP Server is running on port 3000
[08:00:56.000] ERROR: Server Error: Not authenticated{"status":401,"message":"Not authenticated","stack":"Error: Not authenticated\n    at errorHandler (/home/aircamp/api-dev.aircamp.ph/util/errorHandler.js:2:17)\n    at module.exports (/home/aircamp/api-dev.aircamp.ph/middlewares/authorization.js:12:14)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:149:13)\n    at Route.dispatch (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:119:3)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at /home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:284:15\n    at Function.process_params (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:346:12)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:280:10)\n    at Function.handle (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:175:3)","error":{"statusCode":401}}
[08:05:00.000] INFO: No unpaid bookings found for auto-cancellation.
[10:50:06.000] INFO: HTTP Server is running on port 3000
[10:57:53.000] INFO: HTTP Server is running on port 3000
[10:57:54.000] ERROR: Server Error: Not authenticated{"status":401,"message":"Not authenticated","stack":"Error: Not authenticated\n    at errorHandler (/home/aircamp/api-dev.aircamp.ph/util/errorHandler.js:2:17)\n    at module.exports (/home/aircamp/api-dev.aircamp.ph/middlewares/authorization.js:12:14)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:149:13)\n    at Route.dispatch (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:119:3)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at /home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:284:15\n    at Function.process_params (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:346:12)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:280:10)\n    at Function.handle (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:175:3)","error":{"statusCode":401}}
[10:57:55.000] ERROR: Server Error: Not authenticated{"status":401,"message":"Not authenticated","stack":"Error: Not authenticated\n    at errorHandler (/home/aircamp/api-dev.aircamp.ph/util/errorHandler.js:2:17)\n    at module.exports (/home/aircamp/api-dev.aircamp.ph/middlewares/authorization.js:12:14)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:149:13)\n    at Route.dispatch (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:119:3)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at /home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:284:15\n    at Function.process_params (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:346:12)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:280:10)\n    at Function.handle (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:175:3)","error":{"statusCode":401}}
[10:57:57.000] ERROR: Server Error: Not authenticated{"status":401,"message":"Not authenticated","stack":"Error: Not authenticated\n    at errorHandler (/home/aircamp/api-dev.aircamp.ph/util/errorHandler.js:2:17)\n    at module.exports (/home/aircamp/api-dev.aircamp.ph/middlewares/authorization.js:12:14)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:149:13)\n    at Route.dispatch (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:119:3)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at /home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:284:15\n    at Function.process_params (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:346:12)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:280:10)\n    at Function.handle (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:175:3)","error":{"statusCode":401}}
[10:58:02.000] ERROR: Server Error: Not authenticated{"status":401,"message":"Not authenticated","stack":"Error: Not authenticated\n    at errorHandler (/home/aircamp/api-dev.aircamp.ph/util/errorHandler.js:2:17)\n    at module.exports (/home/aircamp/api-dev.aircamp.ph/middlewares/authorization.js:12:14)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:149:13)\n    at Route.dispatch (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:119:3)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at /home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:284:15\n    at Function.process_params (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:346:12)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:280:10)\n    at Function.handle (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:175:3)","error":{"statusCode":401}}
[11:00:01.000] INFO: No unpaid bookings found for auto-cancellation.
[11:00:01.000] INFO: Bookings cancelled (For Approval, past check-in): 1
[11:05:00.000] INFO: No unpaid bookings found for auto-cancellation.
[11:10:00.000] INFO: No unpaid bookings found for auto-cancellation.
[11:10:37.000] INFO: HTTP Server is running on port 3000
[11:15:00.000] INFO: Bookings set to Ongoing (check-in started, not yet checked out): 0
[11:15:00.000] INFO: No unpaid bookings found for auto-cancellation.
[11:20:00.000] INFO: No unpaid bookings found for auto-cancellation.
[11:24:56.000] INFO: PayMongo checkout session created: {
  "data": {
    "id": "cs_db34b0aa899f79b1e35c6701",
    "type": "checkout_session",
    "attributes": {
      "billing": {
        "address": {
          "city": null,
          "country": null,
          "line1": null,
          "line2": null,
          "postal_code": null,
          "state": null
        },
        "email": null,
        "name": null,
        "phone": null
      },
      "billing_information_fields_editable": "enabled",
      "cancel_url": "https://uat.aircamp.ph/reservations?status=Unpaid",
      "checkout_url": "https://checkout.paymongo.com/db34b0aa899f79b1e35c6701",
      "client_key": "cs_db34b0aa899f79b1e35c6701_client_19a1ab432d3e6885ecb463eb",
      "collection": {
        "customer_info": {
          "email": {
            "state": "auto"
          },
          "name": {
            "state": "auto"
          },
          "mobile_phone": {
            "state": "auto"
          },
          "address": {
            "state": "auto"
          }
        }
      },
      "customer_email": null,
      "customer_id": null,
      "description": "AirCamp Booking ACPH-453884 - Sebastian Test Camp 1 - Sebastian Spot test 1",
      "line_items": [
        {
          "amount": 11000,
          "currency": "PHP",
          "description": null,
          "images": [],
          "name": "AirCamp Booking ACPH-453884 - Sebastian Test Camp 1 - Sebastian Spot test 1",
          "quantity": 1
        }
      ],
      "livemode": false,
      "merchant": "Aircamp ",
      "metadata": {
        "booking_no": "ACPH-453884"
      },
      "organization_id": "org_zJnDXbyebLasmB63yeNxBYN5",
      "pass_on_fees": false,
      "payment_intent": {
        "id": "pi_1N55254YWjk8tgk8qNsbs6Ef",
        "type": "payment_intent",
        "attributes": {
          "amount": 11000,
          "capture_type": "automatic",
          "client_key": "pi_1N55254YWjk8tgk8qNsbs6Ef_client_mFujAyN8ESTZdkkMRwDKDyH4",
          "currency": "PHP",
          "description": "AirCamp Booking ACPH-453884 - Sebastian Test Camp 1 - Sebastian Spot test 1",
          "last_payment_error": null,
          "livemode": false,
          "metadata": {
            "booking_no": "ACPH-453884"
          },
          "next_action": null,
          "original_amount": 11000,
          "payment_method_allowed": [
            "paymaya",
            "qrph",
            "dob",
            "card",
            "grab_pay",
            "gcash",
            "billease"
          ],
          "payment_method_options": {
            "card": {
              "request_three_d_secure": "any"
            }
          },
          "payments": [],
          "setup_future_usage": null,
          "statement_descriptor": "Aircamp ",
          "status": "awaiting_payment_method",
          "created_at": 1784172295,
          "updated_at": 1784172295
        }
      },
      "payment_method_types": [
        "qrph",
        "card",
        "dob",
        "gcash",
        "grab_pay",
        "billease",
        "paymaya"
      ],
      "payments": [],
      "public_key": "pk_test_7n4hc82YY5Y4nvFGQS9FNr6P",
      "reference_number": null,
      "send_email_receipt": false,
      "show_description": true,
      "show_line_items": true,
      "status": "active",
      "success_url": "https://uat.aircamp.ph/booking/73956e8a-4375-40d3-b249-6523203d6d7d/successful-booking?referenceNo=ACPH-453884",
      "created_at": 1784172295,
      "updated_at": 1784172295
    }
  }
}
[11:24:56.000] INFO: Payment checkout created for booking ACPH-453884. URL: https://checkout.paymongo.com/db34b0aa899f79b1e35c6701
[11:25:00.000] INFO: No unpaid bookings found for auto-cancellation.
[11:27:48.000] ERROR: Create booking with payment error:{
  "message": "Listing spot not found",
  "stack": "Error: Listing spot not found\n    at errorHandler (/home/aircamp/api-dev.aircamp.ph/util/errorHandler.js:2:17)\n    at exports.createBooking (/home/aircamp/api-dev.aircamp.ph/controllers/customers/v1.1/bookings.js:189:9)\n    at processTicksAndRejections (node:internal/process/task_queues:96:5)",
  "error": {
    "statusCode": 404
  }
}
[11:28:11.000] ERROR: Create booking with payment error:{
  "message": "Listing spot not found",
  "stack": "Error: Listing spot not found\n    at errorHandler (/home/aircamp/api-dev.aircamp.ph/util/errorHandler.js:2:17)\n    at exports.createBooking (/home/aircamp/api-dev.aircamp.ph/controllers/customers/v1.1/bookings.js:189:9)\n    at processTicksAndRejections (node:internal/process/task_queues:96:5)",
  "error": {
    "statusCode": 404
  }
}
[11:28:24.000] ERROR: Create booking with payment error:{
  "message": "Listing spot not found",
  "stack": "Error: Listing spot not found\n    at errorHandler (/home/aircamp/api-dev.aircamp.ph/util/errorHandler.js:2:17)\n    at exports.createBooking (/home/aircamp/api-dev.aircamp.ph/controllers/customers/v1.1/bookings.js:189:9)\n    at processTicksAndRejections (node:internal/process/task_queues:96:5)",
  "error": {
    "statusCode": 404
  }
}
[11:29:06.000] ERROR: Create booking with payment error:{
  "message": "Listing spot not found",
  "stack": "Error: Listing spot not found\n    at errorHandler (/home/aircamp/api-dev.aircamp.ph/util/errorHandler.js:2:17)\n    at exports.createBooking (/home/aircamp/api-dev.aircamp.ph/controllers/customers/v1.1/bookings.js:189:9)\n    at processTicksAndRejections (node:internal/process/task_queues:96:5)",
  "error": {
    "statusCode": 404
  }
}
[11:30:00.000] INFO: Bookings set to Done (past check-out, Upcoming/Ongoing): 0
[11:30:00.000] INFO: No unpaid bookings found for auto-cancellation.
[11:31:17.000] INFO: PayMongo checkout session created: {
  "data": {
    "id": "cs_778d2a3b0f11fc44b0a60189",
    "type": "checkout_session",
    "attributes": {
      "billing": {
        "address": {
          "city": null,
          "country": null,
          "line1": null,
          "line2": null,
          "postal_code": null,
          "state": null
        },
        "email": null,
        "name": null,
        "phone": null
      },
      "billing_information_fields_editable": "enabled",
      "cancel_url": "https://uat.aircamp.ph/reservations?status=Unpaid",
      "checkout_url": "https://checkout.paymongo.com/778d2a3b0f11fc44b0a60189",
      "client_key": "cs_778d2a3b0f11fc44b0a60189_client_acedd9f1045babd1214f3adb",
      "collection": {
        "customer_info": {
          "email": {
            "state": "auto"
          },
          "name": {
            "state": "auto"
          },
          "mobile_phone": {
            "state": "auto"
          },
          "address": {
            "state": "auto"
          }
        }
      },
      "customer_email": null,
      "customer_id": null,
      "description": "AirCamp Booking ACPH-618691 - Testing 2 - testing 2",
      "line_items": [
        {
          "amount": 11000,
          "currency": "PHP",
          "description": null,
          "images": [],
          "name": "AirCamp Booking ACPH-618691 - Testing 2 - testing 2",
          "quantity": 1
        }
      ],
      "livemode": false,
      "merchant": "Aircamp ",
      "metadata": {
        "booking_no": "ACPH-618691"
      },
      "organization_id": "org_zJnDXbyebLasmB63yeNxBYN5",
      "pass_on_fees": false,
      "payment_intent": {
        "id": "pi_g9Nt3KeeTLhLfHaL9RRv3SrD",
        "type": "payment_intent",
        "attributes": {
          "amount": 11000,
          "capture_type": "automatic",
          "client_key": "pi_g9Nt3KeeTLhLfHaL9RRv3SrD_client_sS1gkHmF4FmfPLzRQBPPh53S",
          "currency": "PHP",
          "description": "AirCamp Booking ACPH-618691 - Testing 2 - testing 2",
          "last_payment_error": null,
          "livemode": false,
          "metadata": {
            "booking_no": "ACPH-618691"
          },
          "next_action": null,
          "original_amount": 11000,
          "payment_method_allowed": [
            "paymaya",
            "card",
            "billease",
            "grab_pay",
            "dob",
            "gcash",
            "qrph"
          ],
          "payment_method_options": {
            "card": {
              "request_three_d_secure": "any"
            }
          },
          "payments": [],
          "setup_future_usage": null,
          "statement_descriptor": "Aircamp ",
          "status": "awaiting_payment_method",
          "created_at": 1784172676,
          "updated_at": 1784172676
        }
      },
      "payment_method_types": [
        "qrph",
        "card",
        "dob",
        "gcash",
        "grab_pay",
        "billease",
        "paymaya"
      ],
      "payments": [],
      "public_key": "pk_test_7n4hc82YY5Y4nvFGQS9FNr6P",
      "reference_number": null,
      "send_email_receipt": false,
      "show_description": true,
      "show_line_items": true,
      "status": "active",
      "success_url": "https://uat.aircamp.ph/booking/830a761b-b95f-4c5a-91d7-8b63df809299/successful-booking?referenceNo=ACPH-618691",
      "created_at": 1784172676,
      "updated_at": 1784172676
    }
  }
}
[11:31:17.000] INFO: Payment checkout created for booking ACPH-618691. URL: https://checkout.paymongo.com/778d2a3b0f11fc44b0a60189
[11:35:00.000] INFO: No unpaid bookings found for auto-cancellation.
[11:36:21.000] INFO: HTTP Server is running on port 3000
[11:37:51.000] INFO: PayMongo checkout session created: {
  "data": {
    "id": "cs_9c317008143515f384529962",
    "type": "checkout_session",
    "attributes": {
      "billing": {
        "address": {
          "city": null,
          "country": null,
          "line1": null,
          "line2": null,
          "postal_code": null,
          "state": null
        },
        "email": null,
        "name": null,
        "phone": null
      },
      "billing_information_fields_editable": "enabled",
      "cancel_url": "https://uat.aircamp.ph/reservations?status=Unpaid",
      "checkout_url": "https://checkout.paymongo.com/9c317008143515f384529962",
      "client_key": "cs_9c317008143515f384529962_client_57c5f6c47fa780c346a9be23",
      "collection": {
        "customer_info": {
          "email": {
            "state": "auto"
          },
          "name": {
            "state": "auto"
          },
          "mobile_phone": {
            "state": "auto"
          },
          "address": {
            "state": "auto"
          }
        }
      },
      "customer_email": null,
      "customer_id": null,
      "description": "AirCamp Booking ACPH-656466 - Nick's Camp Site - Nick's Camp Site",
      "line_items": [
        {
          "amount": 2200,
          "currency": "PHP",
          "description": null,
          "images": [],
          "name": "AirCamp Booking ACPH-656466 - Nick's Camp Site - Nick's Camp Site",
          "quantity": 1
        }
      ],
      "livemode": false,
      "merchant": "Aircamp ",
      "metadata": {
        "booking_no": "ACPH-656466"
      },
      "organization_id": "org_zJnDXbyebLasmB63yeNxBYN5",
      "pass_on_fees": false,
      "payment_intent": {
        "id": "pi_xz87pgWnirdwRXTNSifJJ5Dv",
        "type": "payment_intent",
        "attributes": {
          "amount": 2200,
          "capture_type": "automatic",
          "client_key": "pi_xz87pgWnirdwRXTNSifJJ5Dv_client_arUM7AnvpyiYNGn4qw1BHDA8",
          "currency": "PHP",
          "description": "AirCamp Booking ACPH-656466 - Nick's Camp Site - Nick's Camp Site",
          "last_payment_error": null,
          "livemode": false,
          "metadata": {
            "booking_no": "ACPH-656466"
          },
          "next_action": null,
          "original_amount": 2200,
          "payment_method_allowed": [
            "billease",
            "grab_pay",
            "gcash",
            "qrph",
            "dob",
            "paymaya",
            "card"
          ],
          "payment_method_options": {
            "card": {
              "request_three_d_secure": "any"
            }
          },
          "payments": [],
          "setup_future_usage": null,
          "statement_descriptor": "Aircamp ",
          "status": "awaiting_payment_method",
          "created_at": 1784173070,
          "updated_at": 1784173070
        }
      },
      "payment_method_types": [
        "qrph",
        "card",
        "dob",
        "gcash",
        "grab_pay",
        "billease",
        "paymaya"
      ],
      "payments": [],
      "public_key": "pk_test_7n4hc82YY5Y4nvFGQS9FNr6P",
      "reference_number": null,
      "send_email_receipt": false,
      "show_description": true,
      "show_line_items": true,
      "status": "active",
      "success_url": "https://uat.aircamp.ph/booking/06c6d150-7c27-43ee-98c5-d1cd092296f2/successful-booking?referenceNo=ACPH-656466",
      "created_at": 1784173070,
      "updated_at": 1784173070
    }
  }
}
[11:37:51.000] INFO: Payment checkout created for booking ACPH-656466. URL: https://checkout.paymongo.com/9c317008143515f384529962
[11:40:00.000] INFO: No unpaid bookings found for auto-cancellation.
[11:45:00.000] INFO: No unpaid bookings found for auto-cancellation.
[11:45:52.000] INFO: PayMongo checkout session created: {
  "data": {
    "id": "cs_887dc7a182619f4b6cefbda3",
    "type": "checkout_session",
    "attributes": {
      "billing": {
        "address": {
          "city": null,
          "country": null,
          "line1": null,
          "line2": null,
          "postal_code": null,
          "state": null
        },
        "email": null,
        "name": null,
        "phone": null
      },
      "billing_information_fields_editable": "enabled",
      "cancel_url": "https://uat.aircamp.ph/reservations?status=Unpaid",
      "checkout_url": "https://checkout.paymongo.com/887dc7a182619f4b6cefbda3",
      "client_key": "cs_887dc7a182619f4b6cefbda3_client_9671837369b7ce365bdaf749",
      "collection": {
        "customer_info": {
          "email": {
            "state": "auto"
          },
          "name": {
            "state": "auto"
          },
          "mobile_phone": {
            "state": "auto"
          },
          "address": {
            "state": "auto"
          }
        }
      },
      "customer_email": null,
      "customer_id": null,
      "description": "AirCamp Booking ACPH-534537 - Seaside Breeze Retreat Safety APH 12 files - Outdoor Kitchen",
      "line_items": [
        {
          "amount": 495000,
          "currency": "PHP",
          "description": null,
          "images": [],
          "name": "AirCamp Booking ACPH-534537 - Seaside Breeze Retreat Safety APH 12 files - Outdoor Kitchen",
          "quantity": 1
        }
      ],
      "livemode": false,
      "merchant": "Aircamp ",
      "metadata": {
        "booking_no": "ACPH-534537"
      },
      "organization_id": "org_zJnDXbyebLasmB63yeNxBYN5",
      "pass_on_fees": false,
      "payment_intent": {
        "id": "pi_cGHruT3q3hhidGywuH53uFGM",
        "type": "payment_intent",
        "attributes": {
          "amount": 495000,
          "capture_type": "automatic",
          "client_key": "pi_cGHruT3q3hhidGywuH53uFGM_client_GYJoE67kmFnnVUdtoRn3VfuN",
          "currency": "PHP",
          "description": "AirCamp Booking ACPH-534537 - Seaside Breeze Retreat Safety APH 12 files - Outdoor Kitchen",
          "last_payment_error": null,
          "livemode": false,
          "metadata": {
            "booking_no": "ACPH-534537"
          },
          "next_action": null,
          "original_amount": 495000,
          "payment_method_allowed": [
            "qrph",
            "card",
            "dob",
            "paymaya",
            "grab_pay",
            "gcash",
            "billease"
          ],
          "payment_method_options": {
            "card": {
              "request_three_d_secure": "any"
            }
          },
          "payments": [],
          "setup_future_usage": null,
          "statement_descriptor": "Aircamp ",
          "status": "awaiting_payment_method",
          "created_at": 1784173551,
          "updated_at": 1784173551
        }
      },
      "payment_method_types": [
        "qrph",
        "card",
        "dob",
        "gcash",
        "grab_pay",
        "billease",
        "paymaya"
      ],
      "payments": [],
      "public_key": "pk_test_7n4hc82YY5Y4nvFGQS9FNr6P",
      "reference_number": null,
      "send_email_receipt": false,
      "show_description": true,
      "show_line_items": true,
      "status": "active",
      "success_url": "https://uat.aircamp.ph/booking/9aef0f86-5d7f-48f1-ab0e-dcdf3eb5a8b9/successful-booking?referenceNo=ACPH-534537",
      "created_at": 1784173551,
      "updated_at": 1784173551
    }
  }
}
[11:45:52.000] INFO: Payment checkout created for booking ACPH-534537. URL: https://checkout.paymongo.com/887dc7a182619f4b6cefbda3
[11:50:00.000] INFO: No unpaid bookings found for auto-cancellation.
[11:55:00.000] INFO: Auto-cancelled 1 unpaid bookings (older than 30 minutes). Transactions updated.
[11:55:45.000] INFO: HTTP Server is running on port 3000
[12:00:00.000] INFO: Bookings cancelled (For Approval, past check-in): 0
[12:00:00.000] INFO: No unpaid bookings found for auto-cancellation.
[12:05:00.000] INFO: Auto-cancelled 1 unpaid bookings (older than 30 minutes). Transactions updated.
[12:06:24.000] INFO: HTTP Server is running on port 3000
[12:10:00.000] INFO: Auto-cancelled 1 unpaid bookings (older than 30 minutes). Transactions updated.
[12:10:45.000] ERROR: Server Error: Invalid request!{"status":422,"message":"Invalid request!","data":[{"type":"field","value":null,"msg":"Invalid value","path":"data.addressStreet","location":"body"},{"type":"field","value":"","msg":"Invalid value","path":"data.addressStreet","location":"body"},{"type":"field","value":null,"msg":"Invalid value","path":"data.addressCity","location":"body"},{"type":"field","value":"","msg":"Invalid value","path":"data.addressCity","location":"body"},{"type":"field","value":null,"msg":"Invalid value","path":"data.addressState","location":"body"},{"type":"field","value":"","msg":"Invalid value","path":"data.addressState","location":"body"},{"type":"field","value":null,"msg":"Invalid value","path":"data.addressZip","location":"body"},{"type":"field","value":"","msg":"Invalid value","path":"data.addressZip","location":"body"}],"stack":"Error: Invalid request!\n    at module.exports (/home/aircamp/api-dev.aircamp.ph/middlewares/route-validation.js:7:19)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:149:13)\n    at middleware (/home/aircamp/api-dev.aircamp.ph/node_modules/express-validator/lib/middlewares/check.js:16:13)\n    at processTicksAndRejections (node:internal/process/task_queues:96:5)","error":{"statusCode":422,"data":[{"type":"field","value":null,"msg":"Invalid value","path":"data.addressStreet","location":"body"},{"type":"field","value":"","msg":"Invalid value","path":"data.addressStreet","location":"body"},{"type":"field","value":null,"msg":"Invalid value","path":"data.addressCity","location":"body"},{"type":"field","value":"","msg":"Invalid value","path":"data.addressCity","location":"body"},{"type":"field","value":null,"msg":"Invalid value","path":"data.addressState","location":"body"},{"type":"field","value":"","msg":"Invalid value","path":"data.addressState","location":"body"},{"type":"field","value":null,"msg":"Invalid value","path":"data.addressZip","location":"body"},{"type":"field","value":"","msg":"Invalid value","path":"data.addressZip","location":"body"}]}}
[12:10:50.000] ERROR: Server Error: Invalid request!{"status":422,"message":"Invalid request!","data":[{"type":"field","value":null,"msg":"Invalid value","path":"data.addressStreet","location":"body"},{"type":"field","value":"","msg":"Invalid value","path":"data.addressStreet","location":"body"},{"type":"field","value":null,"msg":"Invalid value","path":"data.addressCity","location":"body"},{"type":"field","value":"","msg":"Invalid value","path":"data.addressCity","location":"body"},{"type":"field","value":null,"msg":"Invalid value","path":"data.addressState","location":"body"},{"type":"field","value":"","msg":"Invalid value","path":"data.addressState","location":"body"},{"type":"field","value":null,"msg":"Invalid value","path":"data.addressZip","location":"body"},{"type":"field","value":"","msg":"Invalid value","path":"data.addressZip","location":"body"}],"stack":"Error: Invalid request!\n    at module.exports (/home/aircamp/api-dev.aircamp.ph/middlewares/route-validation.js:7:19)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:149:13)\n    at middleware (/home/aircamp/api-dev.aircamp.ph/node_modules/express-validator/lib/middlewares/check.js:16:13)\n    at processTicksAndRejections (node:internal/process/task_queues:96:5)","error":{"statusCode":422,"data":[{"type":"field","value":null,"msg":"Invalid value","path":"data.addressStreet","location":"body"},{"type":"field","value":"","msg":"Invalid value","path":"data.addressStreet","location":"body"},{"type":"field","value":null,"msg":"Invalid value","path":"data.addressCity","location":"body"},{"type":"field","value":"","msg":"Invalid value","path":"data.addressCity","location":"body"},{"type":"field","value":null,"msg":"Invalid value","path":"data.addressState","location":"body"},{"type":"field","value":"","msg":"Invalid value","path":"data.addressState","location":"body"},{"type":"field","value":null,"msg":"Invalid value","path":"data.addressZip","location":"body"},{"type":"field","value":"","msg":"Invalid value","path":"data.addressZip","location":"body"}]}}
[12:10:57.000] ERROR: Server Error: Invalid request!{"status":422,"message":"Invalid request!","data":[{"type":"field","value":null,"msg":"Invalid value","path":"data.addressStreet","location":"body"},{"type":"field","value":"","msg":"Invalid value","path":"data.addressStreet","location":"body"},{"type":"field","value":null,"msg":"Invalid value","path":"data.addressCity","location":"body"},{"type":"field","value":"","msg":"Invalid value","path":"data.addressCity","location":"body"},{"type":"field","value":null,"msg":"Invalid value","path":"data.addressState","location":"body"},{"type":"field","value":"","msg":"Invalid value","path":"data.addressState","location":"body"},{"type":"field","value":null,"msg":"Invalid value","path":"data.addressZip","location":"body"},{"type":"field","value":"","msg":"Invalid value","path":"data.addressZip","location":"body"}],"stack":"Error: Invalid request!\n    at module.exports (/home/aircamp/api-dev.aircamp.ph/middlewares/route-validation.js:7:19)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:149:13)\n    at middleware (/home/aircamp/api-dev.aircamp.ph/node_modules/express-validator/lib/middlewares/check.js:16:13)\n    at processTicksAndRejections (node:internal/process/task_queues:96:5)","error":{"statusCode":422,"data":[{"type":"field","value":null,"msg":"Invalid value","path":"data.addressStreet","location":"body"},{"type":"field","value":"","msg":"Invalid value","path":"data.addressStreet","location":"body"},{"type":"field","value":null,"msg":"Invalid value","path":"data.addressCity","location":"body"},{"type":"field","value":"","msg":"Invalid value","path":"data.addressCity","location":"body"},{"type":"field","value":null,"msg":"Invalid value","path":"data.addressState","location":"body"},{"type":"field","value":"","msg":"Invalid value","path":"data.addressState","location":"body"},{"type":"field","value":null,"msg":"Invalid value","path":"data.addressZip","location":"body"},{"type":"field","value":"","msg":"Invalid value","path":"data.addressZip","location":"body"}]}}
[12:11:12.000] ERROR: Server Error: Invalid request!{"status":422,"message":"Invalid request!","data":[{"type":"field","value":null,"msg":"Invalid value","path":"data.addressStreet","location":"body"},{"type":"field","value":"","msg":"Invalid value","path":"data.addressStreet","location":"body"},{"type":"field","value":null,"msg":"Invalid value","path":"data.addressCity","location":"body"},{"type":"field","value":"","msg":"Invalid value","path":"data.addressCity","location":"body"},{"type":"field","value":null,"msg":"Invalid value","path":"data.addressState","location":"body"},{"type":"field","value":"","msg":"Invalid value","path":"data.addressState","location":"body"},{"type":"field","value":null,"msg":"Invalid value","path":"data.addressZip","location":"body"},{"type":"field","value":"","msg":"Invalid value","path":"data.addressZip","location":"body"}],"stack":"Error: Invalid request!\n    at module.exports (/home/aircamp/api-dev.aircamp.ph/middlewares/route-validation.js:7:19)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:149:13)\n    at middleware (/home/aircamp/api-dev.aircamp.ph/node_modules/express-validator/lib/middlewares/check.js:16:13)\n    at processTicksAndRejections (node:internal/process/task_queues:96:5)","error":{"statusCode":422,"data":[{"type":"field","value":null,"msg":"Invalid value","path":"data.addressStreet","location":"body"},{"type":"field","value":"","msg":"Invalid value","path":"data.addressStreet","location":"body"},{"type":"field","value":null,"msg":"Invalid value","path":"data.addressCity","location":"body"},{"type":"field","value":"","msg":"Invalid value","path":"data.addressCity","location":"body"},{"type":"field","value":null,"msg":"Invalid value","path":"data.addressState","location":"body"},{"type":"field","value":"","msg":"Invalid value","path":"data.addressState","location":"body"},{"type":"field","value":null,"msg":"Invalid value","path":"data.addressZip","location":"body"},{"type":"field","value":"","msg":"Invalid value","path":"data.addressZip","location":"body"}]}}
[12:11:21.000] ERROR: Server Error: Invalid request!{"status":422,"message":"Invalid request!","data":[{"type":"field","value":null,"msg":"Invalid value","path":"data.addressStreet","location":"body"},{"type":"field","value":"","msg":"Invalid value","path":"data.addressStreet","location":"body"},{"type":"field","value":null,"msg":"Invalid value","path":"data.addressCity","location":"body"},{"type":"field","value":"","msg":"Invalid value","path":"data.addressCity","location":"body"},{"type":"field","value":null,"msg":"Invalid value","path":"data.addressState","location":"body"},{"type":"field","value":"","msg":"Invalid value","path":"data.addressState","location":"body"},{"type":"field","value":null,"msg":"Invalid value","path":"data.addressZip","location":"body"},{"type":"field","value":"","msg":"Invalid value","path":"data.addressZip","location":"body"}],"stack":"Error: Invalid request!\n    at module.exports (/home/aircamp/api-dev.aircamp.ph/middlewares/route-validation.js:7:19)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:149:13)\n    at middleware (/home/aircamp/api-dev.aircamp.ph/node_modules/express-validator/lib/middlewares/check.js:16:13)\n    at processTicksAndRejections (node:internal/process/task_queues:96:5)","error":{"statusCode":422,"data":[{"type":"field","value":null,"msg":"Invalid value","path":"data.addressStreet","location":"body"},{"type":"field","value":"","msg":"Invalid value","path":"data.addressStreet","location":"body"},{"type":"field","value":null,"msg":"Invalid value","path":"data.addressCity","location":"body"},{"type":"field","value":"","msg":"Invalid value","path":"data.addressCity","location":"body"},{"type":"field","value":null,"msg":"Invalid value","path":"data.addressState","location":"body"},{"type":"field","value":"","msg":"Invalid value","path":"data.addressState","location":"body"},{"type":"field","value":null,"msg":"Invalid value","path":"data.addressZip","location":"body"},{"type":"field","value":"","msg":"Invalid value","path":"data.addressZip","location":"body"}]}}
[12:15:00.000] INFO: Bookings set to Ongoing (check-in started, not yet checked out): 0
[12:15:00.000] INFO: No unpaid bookings found for auto-cancellation.
[12:20:00.000] INFO: No unpaid bookings found for auto-cancellation.
[12:24:21.000] INFO: Files uploaded successfully:
[12:24:21.000] INFO: Files uploaded successfully:
[12:24:21.000] INFO: Files uploaded successfully:
[12:25:00.000] INFO: No unpaid bookings found for auto-cancellation.
[12:30:00.000] INFO: Bookings set to Done (past check-out, Upcoming/Ongoing): 0
[12:30:00.000] INFO: No unpaid bookings found for auto-cancellation.
[12:35:00.000] INFO: No unpaid bookings found for auto-cancellation.
[12:40:00.000] INFO: No unpaid bookings found for auto-cancellation.
[12:45:00.000] INFO: No unpaid bookings found for auto-cancellation.
[12:50:00.000] INFO: No unpaid bookings found for auto-cancellation.
[12:55:00.000] INFO: No unpaid bookings found for auto-cancellation.
[13:00:00.000] INFO: Bookings cancelled (For Approval, past check-in): 0
[13:00:00.000] INFO: No unpaid bookings found for auto-cancellation.
[13:00:22.000] INFO: HTTP Server is running on port 3000
[13:05:00.000] INFO: No unpaid bookings found for auto-cancellation.
[13:10:00.000] INFO: No unpaid bookings found for auto-cancellation.
[13:15:00.000] INFO: Bookings set to Ongoing (check-in started, not yet checked out): 0
[13:15:00.000] INFO: No unpaid bookings found for auto-cancellation.
[13:20:00.000] INFO: No unpaid bookings found for auto-cancellation.
[13:21:52.000] INFO: HTTP Server is running on port 3000
[13:25:00.000] INFO: No unpaid bookings found for auto-cancellation.
[13:30:00.000] INFO: Bookings set to Done (past check-out, Upcoming/Ongoing): 0
[13:30:00.000] INFO: No unpaid bookings found for auto-cancellation.
[13:35:00.000] INFO: No unpaid bookings found for auto-cancellation.
[13:40:00.000] INFO: No unpaid bookings found for auto-cancellation.
[16:38:00.000] INFO: HTTP Server is running on port 3000
[16:38:00.000] ERROR: Server Error: Not authenticated{"status":401,"message":"Not authenticated","stack":"Error: Not authenticated\n    at errorHandler (/home/aircamp/api-dev.aircamp.ph/util/errorHandler.js:2:17)\n    at module.exports (/home/aircamp/api-dev.aircamp.ph/middlewares/authorization.js:12:14)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:149:13)\n    at Route.dispatch (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:119:3)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at /home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:284:15\n    at Function.process_params (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:346:12)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:280:10)\n    at Function.handle (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:175:3)","error":{"statusCode":401}}
[16:38:02.000] ERROR: Server Error: Not authenticated{"status":401,"message":"Not authenticated","stack":"Error: Not authenticated\n    at errorHandler (/home/aircamp/api-dev.aircamp.ph/util/errorHandler.js:2:17)\n    at module.exports (/home/aircamp/api-dev.aircamp.ph/middlewares/authorization.js:12:14)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:149:13)\n    at Route.dispatch (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:119:3)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at /home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:284:15\n    at Function.process_params (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:346:12)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:280:10)\n    at Function.handle (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:175:3)","error":{"statusCode":401}}
[16:38:04.000] ERROR: Server Error: Not authenticated{"status":401,"message":"Not authenticated","stack":"Error: Not authenticated\n    at errorHandler (/home/aircamp/api-dev.aircamp.ph/util/errorHandler.js:2:17)\n    at module.exports (/home/aircamp/api-dev.aircamp.ph/middlewares/authorization.js:12:14)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:149:13)\n    at Route.dispatch (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:119:3)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at /home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:284:15\n    at Function.process_params (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:346:12)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:280:10)\n    at Function.handle (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:175:3)","error":{"statusCode":401}}
[16:38:14.000] ERROR: Server Error: Not authenticated{"status":401,"message":"Not authenticated","stack":"Error: Not authenticated\n    at errorHandler (/home/aircamp/api-dev.aircamp.ph/util/errorHandler.js:2:17)\n    at module.exports (/home/aircamp/api-dev.aircamp.ph/middlewares/authorization.js:12:14)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:149:13)\n    at Route.dispatch (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:119:3)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at /home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:284:15\n    at Function.process_params (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:346:12)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:280:10)\n    at Function.handle (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:175:3)","error":{"statusCode":401}}
[16:38:15.000] ERROR: Server Error: Not authenticated{"status":401,"message":"Not authenticated","stack":"Error: Not authenticated\n    at errorHandler (/home/aircamp/api-dev.aircamp.ph/util/errorHandler.js:2:17)\n    at module.exports (/home/aircamp/api-dev.aircamp.ph/middlewares/authorization.js:12:14)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:149:13)\n    at Route.dispatch (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:119:3)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at /home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:284:15\n    at Function.process_params (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:346:12)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:280:10)\n    at Function.handle (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:175:3)","error":{"statusCode":401}}
[16:38:26.000] ERROR: Server Error: Not authenticated{"status":401,"message":"Not authenticated","stack":"Error: Not authenticated\n    at errorHandler (/home/aircamp/api-dev.aircamp.ph/util/errorHandler.js:2:17)\n    at module.exports (/home/aircamp/api-dev.aircamp.ph/middlewares/authorization.js:12:14)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:149:13)\n    at Route.dispatch (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:119:3)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at /home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:284:15\n    at Function.process_params (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:346:12)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:280:10)\n    at Function.handle (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:175:3)","error":{"statusCode":401}}
[16:40:00.000] INFO: No unpaid bookings found for auto-cancellation.
[16:45:00.000] INFO: No unpaid bookings found for auto-cancellation.
[16:50:00.000] INFO: No unpaid bookings found for auto-cancellation.
[16:55:00.000] INFO: No unpaid bookings found for auto-cancellation.
[17:00:00.000] INFO: Bookings cancelled (For Approval, past check-in): 0
[17:00:00.000] INFO: No unpaid bookings found for auto-cancellation.
[17:05:00.000] INFO: No unpaid bookings found for auto-cancellation.
[17:10:00.000] INFO: No unpaid bookings found for auto-cancellation.
[17:15:00.000] INFO: No unpaid bookings found for auto-cancellation.
[17:15:00.000] INFO: Bookings set to Ongoing (check-in started, not yet checked out): 0
[17:35:15.000] INFO: HTTP Server is running on port 3000
