Queue Redis 1/salesforce_message

12768

Actions
State
Failed
Timestamp
Fri, Jan 3, 2025 2:58 PM
Attempts Made
1
Permalinks
Job 12768 JSON
Stacktraces
ValidationError: child "job_type" fails because ["job_type" must be one of [Growth, New, New 2019, New 2020, New 2021, New 2022, New 2023, New 2024, AM, RM, Growth:Transfer, New 2019:Transfer, New 2020:Transfer, New 2021:Transfer, New2022:Transfer, AM:Transfer]]
    at exports.process (/src/node_modules/joi/lib/errors.js:203:19)
    at internals.Object._validateWithOptions (/src/node_modules/joi/lib/types/any/index.js:764:31)
    at root.validate (/src/node_modules/joi/lib/index.js:147:23)
    at joiValidate (/src/lib/utils.js:114:22)
    at Client.create (/src/model/abstract.js:267:20)
    at onSalesforceAccount (/src/salesforce/sync_account.js:49:30)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Queue.processSalesforceMessage (/src/queue/handlers/salesforce_message.js:46:5)
    at async module.exports (/src/node_modules/p-finally/index.js:9:11)
    at async module.exports (/src/node_modules/p-finally/index.js:9:11)
Data
{
  "payload": {
    "LastModifiedDate": "2025-01-03T14:58:34.000Z",
    "CloudingoAgent__SAS__c": 0,
    "Total_Opportunity__c": 0,
    "Total_Ops_P6M_Closed__c": 0,
    "SG_Bids__c": 0,
    "Status__c": "Current Prospect",
    "GB_Listing__c": false,
    "Website": "https://www.werkinsight.com/",
    "Total_Opp__c": 0,
    "BillingAddress": {
      "State": "TN",
      "City": "Nashville"
    },
    "OwnerId": "005j000000BeAGHAA3",
    "RecordTypeId": "012j0000000tEz1AAE",
    "CREDIT_HOLD__c": false,
    "New_Client_Total__c": 0,
    "Total_Wins_P6M__c": 0,
    "Client_Type__c": "Specialty Market Research Firm",
    "CloudingoAgent__BAS__c": 0,
    "Won_CY__c": 0,
    "Name": "Werk Insight",
    "CreatedById": "005j000000BeAGHAA3",
    "PO_Required__c": false,
    "KC_Bids__c": 0,
    "SG_Amount__c": 0,
    "CreatedDate": "2025-01-03T14:58:34.000Z",
    "Buys_Research__c": false,
    "SFSSDupeCatcher__Override_DupeCatcher__c": false,
    "KC_Amount__c": 0,
    "Total_CW_Value__c": 0,
    "JW_Amount__c": 0,
    "JW_Bids__c": 0,
    "Received_NDA__c": false,
    "Total_QB_Rev__c": 0,
    "ChangeEventHeader": {
      "commitNumber": 1735916314360299500,
      "commitUser": "005j000000BeAGHAA3",
      "sequenceNumber": 1,
      "entityName": "Account",
      "changeType": "CREATE",
      "changedFields": [],
      "changeOrigin": "",
      "transactionKey": "000006f3-f336-0447-510d-a29f245d67e5",
      "commitTimestamp": 1735916314000,
      "recordIds": [
        "001Ux00000MYWiPIAX"
      ]
    },
    "Research_Manager__c": "None",
    "Insights_Listing__c": false,
    "LastModifiedById": "005j000000BeAGHAA3",
    "Total_QB__c": 0,
    "dupcheck__dc3DisableDuplicateCheck__c": false
  },
  "replayId": 95868055
}