Queue Dehaka/Base

Base:Job:01K5DTCEXGHWQENBNWKSNVQRRA

Actions
State
Failed
Timestamp
Thu, Sep 18, 2025 7:07 AM
Processed
Thu, Sep 18, 2025 7:07 AM
Finished
Thu, Sep 18, 2025 7:07 AM
Attempts Made
1
Progress
0%
Reason for failure
notNull Violation: Notification.subject_type cannot be null
Stacktraces
SequelizeValidationError: notNull Violation: Notification.subject_type cannot be null
    at InstanceValidator._validate (/home/deployer/apps/zergling/releases/20250625075330/node_modules/sequelize/lib/instance-validator.js:50:13)
    at async InstanceValidator._validateAndRunHooks (/home/deployer/apps/zergling/releases/20250625075330/node_modules/sequelize/lib/instance-validator.js:60:7)
    at async InstanceValidator.validate (/home/deployer/apps/zergling/releases/20250625075330/node_modules/sequelize/lib/instance-validator.js:54:12)
    at async Notification.save (/home/deployer/apps/zergling/releases/20250625075330/node_modules/sequelize/lib/model.js:2426:7)
    at async Notification.create (/home/deployer/apps/zergling/releases/20250625075330/node_modules/sequelize/lib/model.js:1362:12)
    at async /home/deployer/apps/zergling/releases/20250625075330/node_modules/@vizeat/core/dist/mutations/lib/Mutation.js:138:37
    at async /home/deployer/apps/zergling/releases/20250625075330/index.js:148:31
Data
{
  "_meta": {
    "ulid": "01K5DTCEXGHWQENBNWKSNVQRRA",
    "name": "Base",
    "sentryTrace": "02f11f302f8b9fd99d2fe360fb049893-3e9731c37887d240-0",
    "sentryBagage": "sentry-environment=production,sentry-release=4030773b0375c9bc6e7eb0000aad0170ac2807f9,sentry-public_key=62376d0c08d22a546c4c890a4d133c0a,sentry-trace_id=02f11f302f8b9fd99d2fe360fb049893,sentry-sampled=false",
    "jobId": "Base:Job:01K5DTCEXGHWQENBNWKSNVQRRA"
  },
  "accountId": 793585,
  "type": "booking_host_canceled_by_guest",
  "content": "于星期四 25 9月的預約請求已被CT客人取消。",
  "attachable": {
    "cancellation_deadline": "P1D",
    "date": "2025-09-25T00:00:00.000Z",
    "id": 208172,
    "user_id": 791345,
    "event_id": 54440,
    "partner_demand_id": null,
    "request_id": null,
    "conversation_id": 249859,
    "cancellation_reason": null,
    "transaction_id": 8612,
    "place_id": 544122,
    "status": "canceled_by_partner",
    "seats": 2,
    "occasion": null,
    "additional_info": null,
    "should_privatize_date": false,
    "is_origin_private": false,
    "is_origin_instant_booking": true,
    "is_made_by_merchant_api": false,
    "created_by_api": "business-api",
    "ew_free_seats": 0,
    "host_free_seats": 0,
    "created_at": "2025-09-18T01:31:54.000Z",
    "updated_at": "2025-09-18T07:07:23.000Z",
    "deleted_at": null,
    "old_id": null,
    "ewid": null,
    "ewradid": null,
    "gcid": null,
    "place": {
      "id": 544122,
      "user_id": 791398,
      "cover_id": 1451865,
      "title": "Yushuang Road Subway Station",
      "description": null,
      "address": "Chenghua District, Chengdu, Sichuan, People's Republic of China",
      "street_number": "46号",
      "route": "民生里",
      "locality": "Chengdu",
      "administrative_area_level_2": "青羊区",
      "administrative_area_level_1": "Sichuan",
      "country": "People's Republic of China",
      "country_iso": "cn",
      "postal_code": "100000",
      "formatted": "Chenghua District, Chengdu, Sichuan, People's Republic of China",
      "lat": 30.694002,
      "lng": 104.135494,
      "provider_id": "mapbox-dXJuOm1ieHBsYzpIQ294",
      "provider": "mapbox",
      "location_code": "8P26M4VP+J5",
      "timezone": "Asia/Shanghai",
      "additional_info": "This tour starts at Yushuang Road Subway Station. An email will be sent with detailed meeting location details immediately after booking. The tour ends at a local bar, approx. 10 minutes walk from a nearby subway station.  ",
      "created_at": "2024-08-28T04:35:47.000Z",
      "updated_at": "2024-08-28T04:35:48.000Z",
      "archived_at": null,
      "old_id": null
    },
    "user": {
      "billing_country_iso": null,
      "firstname": "CT",
      "lastname": "EW",
      "nickname": null,
      "birth_date": null,
      "phone": "+8617301718479",
      "country_iso": "CN",
      "id": 791345,
      "account_id": 793532,
      "currency_id": 24,
      "billing_address": null,
      "parent_id": null,
      "avatar_id": null,
      "host_application_id": null,
      "civility": "OTHER",
      "description_title": null,
      "description": null,
      "affiliation_code": null,
      "newsletter": true,
      "tos": true,
      "created_at": "2021-08-12T05:46:09.000Z",
      "updated_at": "2025-07-04T02:15:13.000Z",
      "deleted_at": null,
      "old_id": null,
      "ewid": null,
      "locality": "北京市",
      "published_review_count": 0,
      "diets": []
    },
    "event": {
      "begins_at": "18:30",
      "ends_at": "22:00",
      "booking_deadline": "PT24H",
      "pe_booking_deadline": "PT24H",
      "cancellation_deadline": "PT24H",
      "pe_cancellation_deadline": "PT24H",
      "id": 54440,
      "food_id": 832,
      "user_id": 791398,
      "place_id": 544122,
      "cover_id": 1451849,
      "parent_id": null,
      "title": "Chengdu Evening Food Tour by Tuktuk",
      "type": "Food walk",
      "instant_booking": true,
      "fees_rate": 0.25,
      "min_seats": 2,
      "max_seats": 10,
      "slug": "chengdu-evening-food-tour-by-tuktuk-54440",
      "price": 40400,
      "status": "approved",
      "submitted_at": "2024-08-28T04:36:36.000Z",
      "published_at": "2024-08-28T04:36:47.000Z",
      "frozen_at": null,
      "indexed_at": "2025-09-18T01:36:56.000Z",
      "created_at": "2024-08-28T04:27:28.000Z",
      "updated_at": "2025-09-18T01:31:56.000Z",
      "deleted_at": null,
      "old_id": null,
      "ewid": null,
      "gcid": null,
      "allow_public_bookings": true,
      "allow_private_bookings": true,
      "default_availabilities": {
        "fri": true,
        "mon": true,
        "sat": true,
        "sun": true,
        "thu": true,
        "tue": true,
        "wed": true
      },
      "user": {
        "billing_country_iso": null,
        "firstname": "Ruixi",
        "lastname": "Hu",
        "nickname": null,
        "birth_date": "1991-08-31T00:00:00.000Z",
        "phone": "+8615692109030",
        "country_iso": "CN",
        "id": 791398,
        "account_id": 793585,
        "currency_id": 24,
        "billing_address": "北京",
        "parent_id": null,
        "avatar_id": 1451796,
        "host_application_id": null,
        "civility": "OTHER",
        "description_title": null,
        "description": "大家好,我是Eatwith的美食东道主Ruixi。我从小就对各种美食有着浓厚的兴趣。毕业后,我于2014年创办了自己的旅行平台。不断的探索与发现城市角落隐藏的美味成了我工作与生活的一部分,我开始带着世界各地的美食爱好者真正体会地道的风味! \n无论身处何方,最能点燃我激情的就是准备好空空的肚子,满满的食欲,出门寻找街巷中的小饭馆,别看外表不出奇,这些世代相传的小饭馆的美味却经常能让人惊叹不已,流连忘返。要想真正体验一个城市,融入一个城市,了解当地人的生活,最聪明的方式莫过于钻进一家当地人开的小饭馆边品尝最地道的当地美味,边欣赏当地人的生活节奏与风格。多年旅行与探索中,我有幸结识了一群同样热衷于美食文化发掘与传播的小伙伴,他们的加入扩大了我的美食分队,在我们的“吃程”中,你会加入一小组志同道合的美食爱好者一起品尝当地最传统地道的美食!",
        "affiliation_code": null,
        "newsletter": false,
        "tos": true,
        "created_at": "2021-08-28T02:36:26.000Z",
        "updated_at": "2024-08-21T03:36:34.000Z",
        "deleted_at": null,
        "old_id": null,
        "ewid": null,
        "locality": "北京市",
        "published_review_count": 0
      }
    },
    "payment": {
      "id": 185876,
      "payin": "invoice",
      "payin_source_country_iso": null,
      "payin_status": "to_refund",
      "payin_reason": null,
      "payout_gateway": "manual",
      "payout_status": null,
      "payout_reason": null,
      "payer_id": 791345,
      "payee_id": 791398,
      "booking_id": 208172,
      "payee_currency_id": 24,
      "payer_currency_id": 24,
      "discount_currency_id": null,
      "payout_id": null,
      "event_price": 40400,
      "booking_price": 40400,
      "seats": 2,
      "payee_to_payer_conversion_rate": 1,
      "payer_to_euro_conversion_rate": 0.1191,
      "discount": 0,
      "discount_to_payee_conversion_rate": 0,
      "sub_total": 80800,
      "sub_total_with_fees": 101000,
      "fees": 20200,
      "fees_rate": 0.25,
      "is_fixed_price": false,
      "stripe_fees": null,
      "revenue_share": 0.5,
      "total_paid": 101000,
      "refund_amount": 101000,
      "refund_seats": null,
      "stripe_charge_id": null,
      "stripe_payment_intent_id": null,
      "stripe_refund_id": null,
      "stripe_discount_transfer_id": null,
      "wechat_payment_out_trade_no": null,
      "wechat_transaction_id": null,
      "wechat_refund_id": null,
      "created_at": "2025-09-18T01:31:55.000Z",
      "updated_at": "2025-09-18T07:07:23.000Z",
      "old_id": null,
      "payee_currency": {
        "id": 24,
        "title": "Chinese Yuan",
        "iso_3": "CNY",
        "symbol": "CN¥",
        "minimum_charge_amount": 800,
        "decimal_point": 2
      }
    }
  }
}