Queue Dehaka/Base

Base:Job:01K6FT9HKSZP1YRWXFN7GDGFH2

Actions
State
Failed
Timestamp
Wed, Oct 1, 2025 12:00 PM
Processed
Wed, Oct 1, 2025 12:00 PM
Finished
Wed, Oct 1, 2025 12:00 PM
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": "01K6FT9HKSZP1YRWXFN7GDGFH2",
    "name": "Base",
    "sentryTrace": "3dffb8a8c36e86058a9982e8ccaea10a-ddb5e3bf2a329d26-0",
    "sentryBagage": "sentry-environment=production,sentry-release=4030773b0375c9bc6e7eb0000aad0170ac2807f9,sentry-public_key=62376d0c08d22a546c4c890a4d133c0a,sentry-trace_id=3dffb8a8c36e86058a9982e8ccaea10a,sentry-sampled=false",
    "jobId": "Base:Job:01K6FT9HKSZP1YRWXFN7GDGFH2"
  },
  "accountId": 794808,
  "type": "review_guest_first_reminder",
  "content": "您和Eatwith东道主 Ashley一起的美食体验怎么样?",
  "attachable": {
    "cancellation_deadline": "P1D",
    "date": "2025-09-30T00:00:00.000Z",
    "id": 208183,
    "user_id": 792612,
    "event_id": 54475,
    "partner_demand_id": null,
    "request_id": null,
    "conversation_id": 249870,
    "cancellation_reason": null,
    "transaction_id": 8623,
    "place_id": 544153,
    "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-27T15:21:47.000Z",
    "updated_at": "2025-09-30T12: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": 544153,
      "user_id": 792761,
      "cover_id": 1452409,
      "title": "166军舰博物馆 ",
      "description": null,
      "address": "中华人民共和国重庆市九龙坡区",
      "street_number": null,
      "route": "西郊路",
      "locality": "重庆市",
      "administrative_area_level_2": null,
      "administrative_area_level_1": "重庆市",
      "country": "中华人民共和国",
      "country_iso": "cn",
      "postal_code": "100000",
      "formatted": "中华人民共和国重庆市九龙坡区",
      "lat": 29.504047,
      "lng": 106.507189,
      "provider_id": "mapbox-dXJuOm1ieHBsYzpna294",
      "provider": "mapbox",
      "location_code": "7PX8GG34+JV",
      "timezone": "Asia/Shanghai",
      "additional_info": "166舰陈列馆, 重庆市九龙坡区万象大道与万象三路交叉口东280米 ",
      "created_at": "2025-04-30T08:17:33.000Z",
      "updated_at": "2025-05-21T07:54:07.000Z",
      "archived_at": null,
      "old_id": null
    },
    "event": {
      "begins_at": "14:00",
      "ends_at": "20:00",
      "booking_deadline": "PT24H",
      "pe_booking_deadline": "PT24H",
      "cancellation_deadline": "PT48H",
      "pe_cancellation_deadline": "PT48H",
      "id": 54475,
      "food_id": 675,
      "user_id": 792761,
      "place_id": 544153,
      "cover_id": 1452429,
      "parent_id": null,
      "title": "本土建筑师带你解锁魔幻重庆|长江轮渡|地道美食|半岛夜景",
      "type": "Food walk",
      "instant_booking": true,
      "fees_rate": 0.25,
      "min_seats": 1,
      "max_seats": 4,
      "slug": "8d-54475",
      "price": 33600,
      "status": "approved",
      "submitted_at": "2025-04-30T08:17:37.000Z",
      "published_at": "2025-04-30T08:19:02.000Z",
      "frozen_at": null,
      "indexed_at": "2025-09-30T07:25:39.000Z",
      "created_at": "2025-04-30T08:10:55.000Z",
      "updated_at": "2025-09-30T07:20:39.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": "Ashley",
        "lastname": ".",
        "nickname": null,
        "birth_date": "1988-12-23T00:00:00.000Z",
        "phone": "+8618002349571",
        "country_iso": "CN",
        "id": 792761,
        "account_id": 794959,
        "currency_id": 24,
        "billing_address": "重庆",
        "parent_id": null,
        "avatar_id": 1452398,
        "host_application_id": null,
        "civility": "OTHER",
        "description_title": null,
        "description": null,
        "affiliation_code": null,
        "newsletter": false,
        "tos": true,
        "created_at": "2025-04-30T07:44:51.000Z",
        "updated_at": "2025-04-30T07:59:32.000Z",
        "deleted_at": null,
        "old_id": null,
        "ewid": null,
        "locality": "Chongqing",
        "published_review_count": 0,
        "avatar": {
          "id": 1452398,
          "account_id": 794959,
          "uploadcare_id": "f6f77207-cc9a-462e-a168-9e1f38724a68",
          "attachable_type": "users",
          "attachable_id": 792761,
          "category": "avatar",
          "path": "https://user-content.eatwith.com/f6f77207-cc9a-462e-a168-9e1f38724a68/_20250430155555.jpg",
          "show": true,
          "order": 0,
          "created_at": "2025-04-30T07:58:30.000Z",
          "updated_at": "2025-04-30T07:58:30.000Z",
          "deleted_at": null,
          "old_id": null,
          "ewid": null,
          "gcid": null
        },
        "properties": []
      }
    },
    "payment": {
      "id": 185887,
      "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": 792761,
      "booking_id": 208183,
      "payee_currency_id": 24,
      "payer_currency_id": 24,
      "discount_currency_id": null,
      "payout_id": null,
      "event_price": 32000,
      "booking_price": 32000,
      "seats": 2,
      "payee_to_payer_conversion_rate": 1,
      "payer_to_euro_conversion_rate": 0.1198,
      "discount": 0,
      "discount_to_payee_conversion_rate": 0,
      "sub_total": 64000,
      "sub_total_with_fees": 80000,
      "fees": 16000,
      "fees_rate": 0.25,
      "is_fixed_price": true,
      "stripe_fees": null,
      "revenue_share": 0.5,
      "total_paid": 80000,
      "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-27T15:21:47.000Z",
      "updated_at": "2025-09-30T07:20:38.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": 8623,
      "reference_id": 8365,
      "seats": 1,
      "paid_by": "invoice",
      "contact_email": "[email protected]",
      "created_at": "2025-09-27T15:21:47.000Z",
      "updated_at": "2025-09-27T15:21:47.000Z",
      "reference": {
        "code": "0930KL2w/Ashley_1167724393136960",
        "id": 8365,
        "partner_id": 4838,
        "created_at": "2025-09-27T15:21:47.000Z",
        "updated_at": "2025-09-27T15:21:47.000Z",
        "deleted_at": null
      }
    }
  }
}