Queue Dehaka/Base

Base:Job:01K5ZQA1T30FHV45AFZKMCDJ9D

Actions
State
Failed
Timestamp
Thu, Sep 25, 2025 6:00 AM
Processed
Thu, Sep 25, 2025 6:00 AM
Finished
Thu, Sep 25, 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": "01K5ZQA1T30FHV45AFZKMCDJ9D",
    "name": "Base",
    "sentryTrace": "d03d5bec641cce18e13624aa87a80a05-95cee86d8be41de5-0",
    "sentryBagage": "sentry-environment=production,sentry-release=4030773b0375c9bc6e7eb0000aad0170ac2807f9,sentry-public_key=62376d0c08d22a546c4c890a4d133c0a,sentry-trace_id=d03d5bec641cce18e13624aa87a80a05,sentry-sampled=false",
    "jobId": "Base:Job:01K5ZQA1T30FHV45AFZKMCDJ9D"
  },
  "accountId": 793532,
  "type": "review_guest_second_reminder",
  "content": "CT, 请不要忘记给您的东道主 Mike留下宝贵的评论。",
  "attachable": {
    "cancellation_deadline": "P1D",
    "date": "2025-09-18T00:00:00.000Z",
    "id": 208159,
    "user_id": 791345,
    "event_id": 54418,
    "partner_demand_id": null,
    "request_id": null,
    "conversation_id": 249846,
    "cancellation_reason": null,
    "transaction_id": 8599,
    "place_id": 544155,
    "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-10T01:51:27.000Z",
    "updated_at": "2025-09-18T06:00:00.000Z",
    "deleted_at": null,
    "old_id": null,
    "ewid": null,
    "ewradid": null,
    "gcid": 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
    },
    "place": {
      "id": 544155,
      "user_id": 792684,
      "cover_id": 1452445,
      "title": "Mike cooking class",
      "description": null,
      "address": "中华人民共和国上海市普陀区",
      "street_number": "3",
      "route": "Taojang Road",
      "locality": "上海市",
      "administrative_area_level_2": null,
      "administrative_area_level_1": "上海市",
      "country": "中华人民共和国",
      "country_iso": "cn",
      "postal_code": "100000",
      "formatted": "中华人民共和国上海市普陀区",
      "lat": 31.25043,
      "lng": 121.392541,
      "provider_id": "mapbox-dXJuOm1ieHBsYzp6YW94",
      "provider": "mapbox",
      "location_code": "8Q33792V+52",
      "timezone": "Asia/Shanghai",
      "additional_info": "普陀区莫干山路50号",
      "created_at": "2025-05-26T02:46:07.000Z",
      "updated_at": "2025-05-26T02:46:08.000Z",
      "archived_at": null,
      "old_id": null
    },
    "event": {
      "begins_at": "10:00",
      "ends_at": "12:00",
      "booking_deadline": "PT48H",
      "pe_booking_deadline": "PT48H",
      "cancellation_deadline": "PT24H",
      "pe_cancellation_deadline": "PT24H",
      "id": 54418,
      "food_id": 675,
      "user_id": 792684,
      "place_id": 544155,
      "cover_id": 1451468,
      "parent_id": null,
      "title": "跟着五星大厨一起参与上海最受欢迎的小笼包制作体验",
      "type": "Cooking classes",
      "instant_booking": true,
      "fees_rate": 0.25,
      "min_seats": 1,
      "max_seats": 50,
      "slug": "-54418",
      "price": 47500,
      "status": "approved",
      "submitted_at": "2024-07-03T13:33:20.000Z",
      "published_at": "2024-08-08T08:32:13.000Z",
      "frozen_at": null,
      "indexed_at": "2025-09-19T15:08:52.000Z",
      "created_at": "2024-06-14T09:44:32.000Z",
      "updated_at": "2025-09-19T15:08:52.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": "Mike",
        "lastname": "Huang",
        "nickname": null,
        "birth_date": "1995-01-01T00:00:00.000Z",
        "phone": "+8615821618151",
        "country_iso": "CN",
        "id": 792684,
        "account_id": 794882,
        "currency_id": 24,
        "billing_address": null,
        "parent_id": null,
        "avatar_id": 1451460,
        "host_application_id": null,
        "civility": "OTHER",
        "description_title": null,
        "description": null,
        "affiliation_code": null,
        "newsletter": false,
        "tos": true,
        "created_at": "2024-06-14T09:28:58.000Z",
        "updated_at": "2024-06-14T09:39:00.000Z",
        "deleted_at": null,
        "old_id": null,
        "ewid": null,
        "locality": "上海市",
        "published_review_count": 0,
        "avatar": {
          "id": 1451460,
          "account_id": 794882,
          "uploadcare_id": "b2bf6ccb-44e9-4192-9881-16b82f625713",
          "attachable_type": "users",
          "attachable_id": 792684,
          "category": "avatar",
          "path": "https://user-content.eatwith.com/b2bf6ccb-44e9-4192-9881-16b82f625713/509bbd374f30ab69685e3c91718f4f16.JPG",
          "show": true,
          "order": 0,
          "created_at": "2024-06-14T09:29:15.000Z",
          "updated_at": "2024-06-14T09:29:15.000Z",
          "deleted_at": null,
          "old_id": null,
          "ewid": null,
          "gcid": null
        }
      }
    },
    "payment": {
      "id": 185863,
      "payin": "invoice",
      "payin_source_country_iso": null,
      "payin_status": null,
      "payin_reason": null,
      "payout_gateway": "manual",
      "payout_status": null,
      "payout_reason": null,
      "payer_id": 791345,
      "payee_id": 792684,
      "booking_id": 208159,
      "payee_currency_id": 24,
      "payer_currency_id": 24,
      "discount_currency_id": null,
      "payout_id": null,
      "event_price": 47500,
      "booking_price": 47500,
      "seats": 2,
      "payee_to_payer_conversion_rate": 1,
      "payer_to_euro_conversion_rate": 0.12,
      "discount": 0,
      "discount_to_payee_conversion_rate": 0,
      "sub_total": 95000,
      "sub_total_with_fees": 118800,
      "fees": 23800,
      "fees_rate": 0.2505,
      "is_fixed_price": true,
      "stripe_fees": null,
      "revenue_share": 0.5,
      "total_paid": 118800,
      "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-10T01:51:28.000Z",
      "updated_at": "2025-09-10T01:51:28.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": "CT",
      "contact_lastname": "EW",
      "contact_phone": "+8617301718479",
      "id": 8599,
      "reference_id": 8341,
      "seats": 2,
      "paid_by": "invoice",
      "contact_email": "[email protected]",
      "created_at": "2025-09-10T01:51:27.000Z",
      "updated_at": "2025-09-10T01:51:27.000Z",
      "reference": {
        "code": "0918CT2w/Mike_1167723858530766",
        "id": 8341,
        "partner_id": 4766,
        "created_at": "2025-09-10T01:51:27.000Z",
        "updated_at": "2025-09-10T01:51:27.000Z",
        "deleted_at": null
      }
    }
  }
}