Queue Dehaka/Base

Base:Job:01K6A0WXT9XE4B9QDV976NE3JZ

Actions
State
Failed
Timestamp
Mon, Sep 29, 2025 6:00 AM
Processed
Mon, Sep 29, 2025 6:00 AM
Finished
Mon, Sep 29, 2025 6:00 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": "01K6A0WXT9XE4B9QDV976NE3JZ",
    "name": "Base",
    "sentryTrace": "d8562c492f375f025681d54383bc1df4-f7ef317e8a0cda0a-0",
    "sentryBagage": "sentry-environment=production,sentry-release=4030773b0375c9bc6e7eb0000aad0170ac2807f9,sentry-public_key=62376d0c08d22a546c4c890a4d133c0a,sentry-trace_id=d8562c492f375f025681d54383bc1df4,sentry-sampled=false",
    "jobId": "Base:Job:01K6A0WXT9XE4B9QDV976NE3JZ"
  },
  "accountId": 794808,
  "type": "review_guest_second_reminder",
  "content": "KL Paige, 请不要忘记给您的东道主 晓清留下宝贵的评论。",
  "attachable": {
    "cancellation_deadline": "P1D",
    "date": "2025-09-22T00:00:00.000Z",
    "id": 208165,
    "user_id": 792612,
    "event_id": 53809,
    "partner_demand_id": null,
    "request_id": null,
    "conversation_id": 249852,
    "cancellation_reason": null,
    "transaction_id": 8605,
    "place_id": 543596,
    "status": "completed",
    "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-15T01:36:29.000Z",
    "updated_at": "2025-09-22T06:00:00.000Z",
    "deleted_at": null,
    "old_id": null,
    "ewid": null,
    "ewradid": null,
    "gcid": null,
    "user": {
      "billing_country_iso": null,
      "firstname": "KL Paige",
      "lastname": "EW",
      "nickname": null,
      "birth_date": null,
      "phone": "+8615812440237",
      "country_iso": "CN",
      "id": 792612,
      "account_id": 794808,
      "currency_id": 24,
      "billing_address": null,
      "parent_id": null,
      "avatar_id": null,
      "host_application_id": null,
      "civility": "MRS",
      "description_title": null,
      "description": null,
      "affiliation_code": null,
      "newsletter": true,
      "tos": true,
      "created_at": "2023-10-09T07:15:23.000Z",
      "updated_at": "2025-07-04T02:16:33.000Z",
      "deleted_at": null,
      "old_id": null,
      "ewid": null,
      "locality": "深圳市",
      "published_review_count": 0
    },
    "place": {
      "id": 543596,
      "user_id": 791370,
      "cover_id": 1442559,
      "title": "便宜坊",
      "description": null,
      "address": "北京市大兴区亦庄",
      "street_number": "6号院",
      "route": "小羊坊南街",
      "locality": "北京市",
      "administrative_area_level_2": "大兴区",
      "administrative_area_level_1": "北京市",
      "country": "中国",
      "country_iso": "CN",
      "postal_code": "100000",
      "formatted": "北京市大兴区亦庄",
      "lat": 39.797102,
      "lng": 116.479541,
      "provider_id": "gaode-8PFRRG9C+FR",
      "provider": "gaode",
      "location_code": "8PFRQFWH+RR",
      "timezone": "Asia/Shanghai",
      "additional_info": "亦庄贵园小区商业街25号",
      "created_at": "2021-08-17T08:04:30.000Z",
      "updated_at": "2021-08-17T08:04:31.000Z",
      "archived_at": null,
      "old_id": null
    },
    "event": {
      "begins_at": "11:00",
      "ends_at": "14:00",
      "booking_deadline": "PT48H",
      "pe_booking_deadline": "PT48H",
      "cancellation_deadline": "PT48H",
      "pe_cancellation_deadline": "PT48H",
      "id": 53809,
      "food_id": 840,
      "user_id": 791370,
      "place_id": 543596,
      "cover_id": 1447319,
      "parent_id": null,
      "title": "Explore different ways of tasting Peking Duck in a 600-year-old time-honored brand",
      "type": "Lunch",
      "instant_booking": true,
      "fees_rate": 0.25,
      "min_seats": 2,
      "max_seats": 3,
      "slug": "600-53809",
      "price": 19840,
      "status": "approved",
      "submitted_at": null,
      "published_at": "2021-08-17T08:06:01.000Z",
      "frozen_at": null,
      "indexed_at": "2025-09-26T15:10:43.000Z",
      "created_at": "2021-08-17T07:58:02.000Z",
      "updated_at": "2025-09-26T15:10:43.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": "晓清",
        "lastname": "樊",
        "nickname": null,
        "birth_date": "1978-11-20T00:00:00.000Z",
        "phone": "+8613581757603",
        "country_iso": "CN",
        "id": 791370,
        "account_id": 793557,
        "currency_id": 24,
        "billing_address": null,
        "parent_id": null,
        "avatar_id": 1442548,
        "host_application_id": null,
        "civility": "OTHER",
        "description_title": null,
        "description": "Hi大家好,我是Eatwith共飨时刻在北京的东道主樊晓清,在餐饮行业从业20年,现在是北京一家传统烤鸭老字号的主理人,曾接待过社会名流和国外政要,日常里我爱好茶艺,也喜欢运动,诚挚地邀请您到我们这里来,体验不一样的百年老字号的名不虚传。",
        "affiliation_code": null,
        "newsletter": false,
        "tos": true,
        "created_at": "2021-08-17T07:50:55.000Z",
        "updated_at": "2022-03-24T06:02:30.000Z",
        "deleted_at": null,
        "old_id": null,
        "ewid": null,
        "locality": "北京市",
        "published_review_count": 0,
        "avatar": {
          "id": 1442548,
          "account_id": 793557,
          "uploadcare_id": "be01b91f-f24f-4578-9d9a-01b24274090b",
          "attachable_type": "users",
          "attachable_id": 791370,
          "category": "avatar",
          "path": "https://user-content.eatwith.com/be01b91f-f24f-4578-9d9a-01b24274090b/_20210817155135.png",
          "show": true,
          "order": 0,
          "created_at": "2021-08-17T07:52:04.000Z",
          "updated_at": "2021-08-17T07:52:04.000Z",
          "deleted_at": null,
          "old_id": null,
          "ewid": null,
          "gcid": null
        }
      }
    },
    "payment": {
      "id": 185869,
      "payin": "invoice",
      "payin_source_country_iso": null,
      "payin_status": null,
      "payin_reason": null,
      "payout_gateway": "manual",
      "payout_status": null,
      "payout_reason": null,
      "payer_id": 792612,
      "payee_id": 791370,
      "booking_id": 208165,
      "payee_currency_id": 24,
      "payer_currency_id": 24,
      "discount_currency_id": null,
      "payout_id": null,
      "event_price": 19840,
      "booking_price": 19840,
      "seats": 2,
      "payee_to_payer_conversion_rate": 1,
      "payer_to_euro_conversion_rate": 0.1197,
      "discount": 0,
      "discount_to_payee_conversion_rate": 0,
      "sub_total": 39680,
      "sub_total_with_fees": 49600,
      "fees": 9920,
      "fees_rate": 0.25,
      "is_fixed_price": false,
      "stripe_fees": null,
      "revenue_share": 0.5,
      "total_paid": 49600,
      "refund_amount": null,
      "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-15T01:36:29.000Z",
      "updated_at": "2025-09-15T01:36:29.000Z",
      "old_id": null,
      "payer_currency": {
        "id": 24,
        "title": "Chinese Yuan",
        "iso_3": "CNY",
        "symbol": "CN¥",
        "minimum_charge_amount": 800,
        "decimal_point": 2
      }
    },
    "transaction": {
      "contact_firstname": "KL Paige",
      "contact_lastname": "EW",
      "contact_phone": "+8615812440237",
      "id": 8605,
      "reference_id": 8347,
      "seats": 2,
      "paid_by": "invoice",
      "contact_email": "[email protected]",
      "created_at": "2025-09-15T01:36:29.000Z",
      "updated_at": "2025-09-15T01:36:29.000Z",
      "reference": {
        "code": "0922KL2w/晓清_BZQ631495",
        "id": 8347,
        "partner_id": 4838,
        "created_at": "2025-09-15T01:36:29.000Z",
        "updated_at": "2025-09-15T01:36:29.000Z",
        "deleted_at": null
      }
    }
  }
}