Queue Redis 1/notification

2255

Actions
State
Succeeded
Timestamp
Thu, Dec 5, 2024 4:55 PM
Attempts Made
0
Permalinks
Job 2255 JSON
Data
{
  "template": "error_notification",
  "user": {
    "name": "Gyula Szabó",
    "email": "gyszabo@gmail.com"
  },
  "params": {
    "message": "{\n  "project_id": 54931,\n  "status": "closed",\n  "client_id": null,\n  "user_id": 78,\n  "connector": false,\n  "prodege": {\n    "success": false,\n    "error": "Error: No further changes can be made once project is in COMPLETE status\\n    at Abstract.invalidResponse (/src/lib/panel_api/abstract.js:156:12)\\n    at ProdegeBase.getResponseError (/src/lib/panel_api/prodege_base.js:740:21)\\n    at /src/lib/panel_api/prodege_base.js:708:28\\n    at new Promise (<anonymous>)\\n    at ProdegeBase.processResponse (/src/lib/panel_api/prodege_base.js:694:12)\\n    at /src/lib/panel_api/prodege_base.js:684:28\\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\\n    at async ProdegeBase.setProjectStatus (/src/lib/panel_api/prodege_base.js:640:20)\\n    at async updatePanelApi (/src/queue/handlers/update_project_status.js:15:21)\\n    at async Promise.all (index 0)",\n    "router": {\n      "id": 104580,\n      "use_panel_api": true,\n      "panel_api": "prodege",\n      "api_data": {\n        "quotas": {\n          "541224790": {\n            "active": "true",\n            "quota_id": "541224790",\n            "quota_name": "FL",\n            "quota_clicks": "38",\n            "quota_completes": "5",\n            "calculation_type": "1",\n            "prodege_project_id": "175821219",\n            "targeting_criteria": [\n              {\n                "operator": "BETWEEN",\n                "precodes": [\n                  "26",\n                  "99"\n                ],\n                "question_id": "1"\n              },\n              {\n                "operator": "OR",\n                "precodes": [\n                  "1",\n                  "2"\n                ],\n                "question_id": "3"\n              },\n              {\n                "operator": "OR",\n                "precodes": [\n                  "76065",\n                  "76055",\n                  "76636",\n                  "76645",\n                  "76692",\n                  "76048",\n                  "76049",\n                  "76009",\n                  "76028",\n                  "76031",\n                  "76033",\n                  "76050",\n                  "76058",\n                  "76059",\n                  "76061",\n                  "76084",\n                  "76097",\n                  "76044",\n                  "76093",\n                  "75054",\n                  "76001",\n                  "76002",\n                  "76036",\n                  "76060",\n                  "76063",\n                  "76123",\n                  "76133",\n                  "76134",\n                  "76140",\n                  "76102",\n                  "76103",\n                  "76104",\n                  "76105",\n                  "76107",\n                  "76108",\n                  "76109",\n                  "76110",\n                  "76112",\n                  "76114",\n                  "76115",\n                  "76116",\n                  "76119",\n                  "76122",\n                  "76126",\n                  "76129",\n                  "76132",\n                  "76163"\n                ],\n                "question_id": "24"\n              }\n            ],\n            "number_of_respondents": "10"\n          }\n        },\n        "project": {\n          "cpi": 1.4,\n          "loi": "15",\n          "status": "COMPLETE",\n          "max_cpi": "1.5",\n          "country_id": "1",\n          "project_id": "54931",\n          "expected_ir": "90",\n          "project_url": "https://survey.emi-rs.com/start/8C2E8xd5A24POA0/%transid%",\n          "ir_based_cpi": "",\n          "project_name": "TH Texas Healthcare OCT 2024 (clone #54612)",\n          "reference_id": "63008K",\n          "current_avg_cpi": "1.4",\n          "project_type_id": "1",\n          "prodege_project_id": 175821219,\n          "disabled_by_cpi_reality_check": "false"\n        }\n      },\n      "variables": [\n        "PARTNER_ID"\n      ],\n      "survey_url": "https://survey.emi-rs.com/start/8C2E8xd5A24POA0"\n    },\n    "status": "closed"\n  },\n  "purespectrum": {\n    "success": false,\n    "error": "Error: survey is already in Closed status\\n    at Abstract.invalidResponse (/src/lib/panel_api/abstract.js:156:12)\\n    at PureSpectrum.getResponseError (/src/lib/panel_api/purespectrum.js:583:21)\\n    at PureSpectrum.processResponse (/src/lib/panel_api/purespectrum.js:567:26)\\n    at PureSpectrum.apiRequest (/src/lib/panel_api/purespectrum.js:551:19)\\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\\n    at async PureSpectrum.setProjectStatus (/src/lib/panel_api/purespectrum.js:480:20)\\n    at async updatePanelApi (/src/queue/handlers/update_project_status.js:15:21)\\n    at async Promise.all (index 1)\\n    at async Queue.updateProjectStatus (/src/queue/handlers/update_project_status.js:33:22)\\n    at async module.exports (/src/node_modules/p-finally/index.js:9:11)",\n    "router": {\n      "id": 104581,\n      "use_panel_api": true,\n      "panel_api": "purespectrum",\n      "api_data": {\n        "project": {\n          "qbp": {\n            "enable": false\n          },\n          "qlc": {\n            "enable": false,\n            "multiple_quotas": {\n              "enable": false,\n              "count_by_quota": false,\n              "compensate_by_quota": false\n            }\n          },\n          "feot": {},\n          "quotas": [],\n          "product": "",\n          "blend_id": null,\n          "live_url": "https://survey.emi-rs.com/start/bMfwmWw2u4P72T0/",\n          "mc_count": 0,\n          "tc_count": 0,\n          "test_url": "https://survey.emi-rs.com/start/bMfwmWw2u4P72T0/?test=1",\n          "incl_excl": 0,\n          "billing_id": "63008K",\n          "field_time": 4,\n          "price_reco": false,\n          "basic_token": {\n            "value": null,\n            "enable": false\n          },\n          "dq_settings": {\n            "fp_fraud_check": true,\n            "fp_device_check": true,\n            "purescore_filter_enabled": true\n          },\n          "expected_ir": 50,\n          "launch_date": 1730987531994,\n          "offer_price": 3,\n          "soft_launch": {\n            "enable": false\n          },\n          "uniqueLinks": false,\n          "expected_loi": 15,\n          "is_dq_enable": false,\n          "ps_survey_id": 35939614,\n          "survey_title": "TH Texas Healthcare OCT 2024 (clone #54612)",\n          "unique_links": {\n            "enable": false\n          },\n          "blend_applied": "false",\n          "buyer_message": null,\n          "url_transform": false,\n          "qualifications": [\n            {\n              "condition_codes": [\n                "111",\n                "112"\n              ],\n              "qualification_code": 211\n            },\n            {\n              "range_sets": [\n                {\n                  "to": 99,\n                  "from": 26,\n                  "units": 311\n                }\n              ],\n              "qualification_code": 212\n            },\n            {\n              "condition_codes": [\n                "75165",\n                "75167",\n                "76064",\n                "76013",\n                "76015",\n                "76016",\n                "76017",\n                "76018",\n                "76117",\n                "76065",\n                "76055",\n                "76636",\n                "76048",\n                "76049",\n                "76009",\n                "76028",\n                "76097",\n                "76031",\n                "76033",\n                "76050",\n                "76058",\n                "76059",\n                "76044",\n                "76084",\n                "76093",\n                "76036",\n                "76063",\n                "76119",\n                "76123",\n                "76134",\n                "76140",\n                "76001",\n                "76002",\n                "76060",\n                "76103",\n                "76104",\n                "76105",\n                "76108",\n                "76110",\n                "76112",\n                "76115",\n                "76122",\n                "76116",\n                "76126",\n                "76132",\n                "76133",\n                "76645",\n                "76692",\n                "76061",\n                "75054",\n                "76102",\n                "76107",\n                "76109",\n                "76114",\n                "76129",\n                "76163"\n              ],\n              "qualification_code": 229\n            }\n          ],\n          "click_balancing": 0,\n          "is_feot_enabled": false,\n          "schedule_launch": {\n            "info": {},\n            "enable": false\n          },\n          "survey_grouping": [],\n          "estimated_clicks": 0,\n          "ps_survey_status": 44,\n          "quota_throttling": false,\n          "is_modular_survey": false,\n          "subscriber_emails": [\n            "brittney.marston@emi-rs.com"\n          ],\n          "completes_required": 15,\n          "survey_external_id": "",\n          "pds_ignore_override": false,\n          "survey_localization": "en_US",\n          "survey_category_code": 220,\n          "buyer_surveygroup_ref": null,\n          "project_creation_date": "2024-10-31T17:50:07.098Z",\n          "buyer_surveygroup_refs": [],\n          "test_ps_survey_entry_link": "https://spectrumsurveys.com/#/start-survey?survey_id=35939614&ps_redirect_test=1&bsec=a70mx8&supplier_id=23",\n          "project_last_complete_date": "2024-11-21T02:19:10.052Z",\n          "is_pure_price_rate_card_enable": true\n        }\n      },\n      "variables": [\n        "transaction_id"\n      ],\n      "survey_url": "https://survey.emi-rs.com/start/bMfwmWw2u4P72T0"\n    },\n    "status": "closed"\n  },\n  "disqo": {\n    "success": true\n  }\n}",
    "subject": "Update project status error"
  }
}