Queue Dehaka/Base

Base:Job:01K5XF6XPK2DQRK9X9GBNMXKHT

Actions
State
Failed
Timestamp
Wed, Sep 24, 2025 9:00 AM
Processed
Wed, Sep 24, 2025 9:00 AM
Finished
Wed, Sep 24, 2025 9: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": "01K5XF6XPK2DQRK9X9GBNMXKHT",
    "name": "Base",
    "sentryTrace": "49214a0dc6d399fc02fcf31ad4e1bc21-3349de5a88887ab6-0",
    "sentryBagage": "sentry-environment=production,sentry-release=4030773b0375c9bc6e7eb0000aad0170ac2807f9,sentry-public_key=62376d0c08d22a546c4c890a4d133c0a,sentry-trace_id=49214a0dc6d399fc02fcf31ad4e1bc21,sentry-sampled=false",
    "jobId": "Base:Job:01K5XF6XPK2DQRK9X9GBNMXKHT"
  },
  "accountId": 793532,
  "type": "review_guest_first_reminder",
  "content": "您和Eatwith东道主 Wenqi一起的美食体验怎么样?",
  "attachable": {
    "cancellation_deadline": "P1D",
    "date": "2025-09-23T00:00:00.000Z",
    "id": 208175,
    "user_id": 791345,
    "event_id": 54484,
    "partner_demand_id": null,
    "request_id": null,
    "conversation_id": 249862,
    "cancellation_reason": null,
    "transaction_id": 8615,
    "place_id": 544162,
    "status": "completed",
    "seats": 1,
    "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-21T13:57:41.000Z",
    "updated_at": "2025-09-23T09: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": 544162,
      "user_id": 792769,
      "cover_id": 1452520,
      "title": "Xi'an",
      "description": null,
      "address": "Lianhu District, Xi'an, Shaanxi, People's Republic of China",
      "street_number": null,
      "route": "Jiaochangmen",
      "locality": "Xi'an",
      "administrative_area_level_2": null,
      "administrative_area_level_1": "Shaanxi",
      "country": "People's Republic of China",
      "country_iso": "cn",
      "postal_code": "100000",
      "formatted": "Lianhu District, Xi'an, Shaanxi, People's Republic of China",
      "lat": 34.269635,
      "lng": 108.930749,
      "provider_id": "mapbox-dXJuOm1ieHBsYzprNG94",
      "provider": "mapbox",
      "location_code": "8P6C7W9J+V7",
      "timezone": "Asia/Shanghai",
      "additional_info": "Longshouyuan Metro Station Exit A",
      "created_at": "2025-07-15T08:18:10.000Z",
      "updated_at": "2025-07-15T08:18:11.000Z",
      "archived_at": null,
      "old_id": null
    },
    "event": {
      "begins_at": "14:00",
      "ends_at": "17:00",
      "booking_deadline": "PT24H",
      "pe_booking_deadline": "PT24H",
      "cancellation_deadline": "PT24H",
      "pe_cancellation_deadline": "PT24H",
      "id": 54484,
      "food_id": 675,
      "user_id": 792769,
      "place_id": 544162,
      "cover_id": 1452531,
      "parent_id": null,
      "title": "Xi’an Home Cooking Experience: From Market to Table -Eatwith",
      "type": "Cooking classes",
      "instant_booking": true,
      "fees_rate": 0.25,
      "min_seats": 1,
      "max_seats": 6,
      "slug": "authentic-xian-cuisine-cooking-experience-from-market-to-table-with-a-local-family-54484",
      "price": 36000,
      "status": "approved",
      "submitted_at": "2025-08-06T07:43:20.000Z",
      "published_at": "2025-08-06T07:43:53.000Z",
      "frozen_at": null,
      "indexed_at": "2025-09-21T14:02:43.000Z",
      "created_at": "2025-08-06T07:40:13.000Z",
      "updated_at": "2025-09-21T13:57: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": "Wenqi",
        "lastname": ".",
        "nickname": null,
        "birth_date": "1996-12-19T00:00:00.000Z",
        "phone": "+8617620179054",
        "country_iso": "CN",
        "id": 792769,
        "account_id": 794967,
        "currency_id": 24,
        "billing_address": "西安",
        "parent_id": null,
        "avatar_id": 1452509,
        "host_application_id": null,
        "civility": "OTHER",
        "description_title": null,
        "description": null,
        "affiliation_code": null,
        "newsletter": false,
        "tos": true,
        "created_at": "2025-07-15T07:55:36.000Z",
        "updated_at": "2025-07-15T07:58:31.000Z",
        "deleted_at": null,
        "old_id": null,
        "ewid": null,
        "locality": "西安市",
        "published_review_count": 0,
        "avatar": {
          "id": 1452509,
          "account_id": 794967,
          "uploadcare_id": "247373c9-aeaf-413e-9eb3-75d77aaaa37c",
          "attachable_type": "users",
          "attachable_id": 792769,
          "category": "avatar",
          "path": "https://user-content.eatwith.com/247373c9-aeaf-413e-9eb3-75d77aaaa37c/_20250715154935.jpg",
          "show": true,
          "order": 0,
          "created_at": "2025-07-15T07:56:44.000Z",
          "updated_at": "2025-07-15T07:56:44.000Z",
          "deleted_at": null,
          "old_id": null,
          "ewid": null,
          "gcid": null
        },
        "properties": []
      }
    },
    "payment": {
      "id": 185879,
      "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": 792769,
      "booking_id": 208175,
      "payee_currency_id": 24,
      "payer_currency_id": 24,
      "discount_currency_id": null,
      "payout_id": null,
      "event_price": 36000,
      "booking_price": 36000,
      "seats": 1,
      "payee_to_payer_conversion_rate": 1,
      "payer_to_euro_conversion_rate": 0.1196,
      "discount": 0,
      "discount_to_payee_conversion_rate": 0,
      "sub_total": 36000,
      "sub_total_with_fees": 45000,
      "fees": 9000,
      "fees_rate": 0.25,
      "is_fixed_price": false,
      "stripe_fees": null,
      "revenue_share": 0.5,
      "total_paid": 45000,
      "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-21T13:57:41.000Z",
      "updated_at": "2025-09-21T13:57:41.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": 8615,
      "reference_id": 8357,
      "seats": 1,
      "paid_by": "invoice",
      "contact_email": "[email protected]",
      "created_at": "2025-09-21T13:57:40.000Z",
      "updated_at": "2025-09-21T13:57:40.000Z",
      "reference": {
        "code": "0923CT1w/wenqi_1482184582830028",
        "id": 8357,
        "partner_id": 4766,
        "created_at": "2025-09-21T13:57:40.000Z",
        "updated_at": "2025-09-21T13:57:40.000Z",
        "deleted_at": null
      }
    }
  }
}