Queue Dehaka/Base

Base:Job:01K5WY1KQCSDNBDVCTY9X0Z157

Actions
State
Failed
Timestamp
Wed, Sep 24, 2025 4:00 AM
Processed
Wed, Sep 24, 2025 4:00 AM
Finished
Wed, Sep 24, 2025 4: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": "01K5WY1KQCSDNBDVCTY9X0Z157",
    "name": "Base",
    "sentryTrace": "1e58c09b7201cfbfd8beef690ccdaf4c-5c446e0b4511c17d-0",
    "sentryBagage": "sentry-environment=production,sentry-release=4030773b0375c9bc6e7eb0000aad0170ac2807f9,sentry-public_key=62376d0c08d22a546c4c890a4d133c0a,sentry-trace_id=1e58c09b7201cfbfd8beef690ccdaf4c,sentry-sampled=false",
    "jobId": "Base:Job:01K5WY1KQCSDNBDVCTY9X0Z157"
  },
  "accountId": 794808,
  "type": "review_guest_first_reminder",
  "content": "您和Eatwith东道主 圆圆一起的美食体验怎么样?",
  "attachable": {
    "cancellation_deadline": "P1D",
    "date": "2025-09-23T00:00:00.000Z",
    "id": 208153,
    "user_id": 792612,
    "event_id": 54471,
    "partner_demand_id": null,
    "request_id": null,
    "conversation_id": 249840,
    "cancellation_reason": null,
    "transaction_id": 8593,
    "place_id": 544113,
    "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-04T09:13:29.000Z",
    "updated_at": "2025-09-23T04: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": 544113,
      "user_id": 791336,
      "cover_id": 1451659,
      "title": "周末风空间",
      "description": null,
      "address": "中华人民共和国浙江省杭州市西湖区",
      "street_number": null,
      "route": "Zheda Road",
      "locality": "杭州市",
      "administrative_area_level_2": null,
      "administrative_area_level_1": "浙江省",
      "country": "中华人民共和国",
      "country_iso": "cn",
      "postal_code": "100000",
      "formatted": "中华人民共和国浙江省杭州市西湖区",
      "lat": 30.261735,
      "lng": 120.126307,
      "provider_id": "mapbox-dXJuOm1ieHBsYzpBU1JxTVE",
      "provider": "mapbox",
      "location_code": "8Q22746G+MG",
      "timezone": "Asia/Shanghai",
      "additional_info": "浙江省杭州市西湖区上城埭村路北188号",
      "created_at": "2024-07-31T08:25:40.000Z",
      "updated_at": "2024-07-31T09:45:32.000Z",
      "archived_at": null,
      "old_id": null
    },
    "event": {
      "begins_at": "14:30",
      "ends_at": "16:30",
      "booking_deadline": "PT24H",
      "pe_booking_deadline": "PT24H",
      "cancellation_deadline": "PT24H",
      "pe_cancellation_deadline": "PT24H",
      "id": 54471,
      "food_id": 675,
      "user_id": 791336,
      "place_id": 544113,
      "cover_id": 1452341,
      "parent_id": null,
      "title": "茶乡采茶轻徒步,探索富氧水库的奥秘所在",
      "type": "Food walk",
      "instant_booking": true,
      "fees_rate": 0.25,
      "min_seats": 1,
      "max_seats": 20,
      "slug": "-54471",
      "price": 6320,
      "status": "approved",
      "submitted_at": "2025-02-27T07:21:19.000Z",
      "published_at": "2025-02-27T07:21:39.000Z",
      "frozen_at": null,
      "indexed_at": "2025-09-22T02:54:12.000Z",
      "created_at": "2025-02-27T07:16:05.000Z",
      "updated_at": "2025-09-22T02:49:12.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": null,
        "phone": "+8615869012389",
        "country_iso": "CN",
        "id": 791336,
        "account_id": 793523,
        "currency_id": 24,
        "billing_address": null,
        "parent_id": null,
        "avatar_id": 1441838,
        "host_application_id": null,
        "civility": "OTHER",
        "description_title": null,
        "description": "大家好,我是王金, 一名热爱旅行的中级茶艺师和高级品茶师,也是一位妈妈,十多年前来到龙坞茶村便被这里美丽亮丽的自然风光和绵延不觉的龙井茶树所吸引,希望能够通过自己西湖龙井茶文化的了解,将这边的好茶与美景介绍给更多喜爱茶的朋友。在龙坞生活的这么多年,组建了新的团队,团结创新,有幸成为赋能龙坞茶镇乡村旅游业态企业领头人,并因此获得杭州市巾帼建功标兵, “首届西湖区最美旅游人”的荣誉。",
        "affiliation_code": null,
        "newsletter": false,
        "tos": true,
        "created_at": "2021-08-08T09:30:25.000Z",
        "updated_at": "2023-04-06T03:35:14.000Z",
        "deleted_at": null,
        "old_id": null,
        "ewid": null,
        "locality": "杭州市",
        "published_review_count": 0,
        "avatar": {
          "id": 1441838,
          "account_id": 793523,
          "uploadcare_id": "035b6cb5-acd0-4830-9c39-e5b2d6d5faa4",
          "attachable_type": "users",
          "attachable_id": 791336,
          "category": "avatar",
          "path": "https://user-content.eatwith.com/035b6cb5-acd0-4830-9c39-e5b2d6d5faa4/21618392762_pic_hd.jpg",
          "show": true,
          "order": 0,
          "created_at": "2021-08-08T09:31:18.000Z",
          "updated_at": "2021-08-08T09:31:18.000Z",
          "deleted_at": null,
          "old_id": null,
          "ewid": null,
          "gcid": null
        },
        "properties": []
      }
    },
    "payment": {
      "id": 185857,
      "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": 791336,
      "booking_id": 208153,
      "payee_currency_id": 24,
      "payer_currency_id": 24,
      "discount_currency_id": null,
      "payout_id": null,
      "event_price": 15920,
      "booking_price": 15920,
      "seats": 2,
      "payee_to_payer_conversion_rate": 1,
      "payer_to_euro_conversion_rate": 0.1202,
      "discount": 0,
      "discount_to_payee_conversion_rate": 0,
      "sub_total": 31840,
      "sub_total_with_fees": 39800,
      "fees": 7960,
      "fees_rate": 0.25,
      "is_fixed_price": true,
      "stripe_fees": null,
      "revenue_share": 0.5,
      "total_paid": 39800,
      "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-04T09:13:29.000Z",
      "updated_at": "2025-09-04T09:13: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": 8593,
      "reference_id": 8335,
      "seats": 2,
      "paid_by": "invoice",
      "contact_email": "[email protected]",
      "created_at": "2025-09-04T09:13:29.000Z",
      "updated_at": "2025-09-04T09:13:29.000Z",
      "reference": {
        "code": "0923KL2w/王金_AWW269469",
        "id": 8335,
        "partner_id": 4838,
        "created_at": "2025-09-04T09:13:29.000Z",
        "updated_at": "2025-09-04T09:13:29.000Z",
        "deleted_at": null
      }
    }
  }
}