Queue Redis 1/notification

902

Actions
State
Succeeded
Timestamp
Tue, Nov 5, 2024 6:40 PM
Attempts Made
0
Permalinks
Job 902 JSON
Data
{
  "template": "error_notification",
  "user": {
    "name": "Gyula Szabó",
    "email": "gyszabo@gmail.com"
  },
  "params": {
    "message": "{\n  "project_id": 54604,\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:721:21)\\n    at /src/lib/panel_api/prodege_base.js:689:28\\n    at new Promise (<anonymous>)\\n    at ProdegeBase.processResponse (/src/lib/panel_api/prodege_base.js:675:12)\\n    at /src/lib/panel_api/prodege_base.js:665:28\\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\\n    at async ProdegeBase.setProjectStatus (/src/lib/panel_api/prodege_base.js:621: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": 103105,\n      "use_panel_api": true,\n      "panel_api": "prodege",\n      "api_data": {\n        "quotas": {\n          "533343684": {\n            "active": "true",\n            "quota_id": "533343684",\n            "quota_name": "FL",\n            "quota_clicks": "62",\n            "quota_completes": "15",\n            "calculation_type": "1",\n            "prodege_project_id": "172449871",\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                  "60439",\n                  "60525",\n                  "60133",\n                  "60558",\n                  "60513",\n                  "60638",\n                  "60526",\n                  "60402",\n                  "60154",\n                  "60458",\n                  "60480",\n                  "60534",\n                  "60546",\n                  "60501",\n                  "60804",\n                  "60462",\n                  "60467",\n                  "60464",\n                  "60457",\n                  "60455",\n                  "60517",\n                  "60565",\n                  "60561",\n                  "60516",\n                  "60108",\n                  "60139",\n                  "60101",\n                  "60188",\n                  "60137",\n                  "60185",\n                  "60148",\n                  "60172",\n                  "60187",\n                  "60190",\n                  "60181",\n                  "60143",\n                  "60106",\n                  "60126",\n                  "60191",\n                  "60559",\n                  "60527",\n                  "60523",\n                  "60515",\n                  "60157",\n                  "60521",\n                  "60514",\n                  "60532",\n                  "60440",\n                  "60446",\n                  "60544",\n                  "60490",\n                  "60586",\n                  "60435",\n                  "60431",\n                  "60403",\n                  "60585",\n                  "60441",\n                  "60564",\n                  "60491"\n                ],\n                "question_id": "24"\n              }\n            ],\n            "number_of_respondents": "25"\n          }\n        },\n        "project": {\n          "cpi": 3.66,\n          "loi": "15",\n          "status": "COMPLETE",\n          "max_cpi": "3.66",\n          "country_id": "1",\n          "project_id": "54604",\n          "expected_ir": "90",\n          "project_url": "https://survey.emi-rs.com/start/82SF26O9hxzoCpK/%transid%",\n          "ir_based_cpi": "",\n          "project_name": "IL Chicago Healthcare SEPT 2024 (clone #54332)",\n          "reference_id": "63008J",\n          "current_avg_cpi": "3.0533333",\n          "project_type_id": "1",\n          "prodege_project_id": 172449871,\n          "disabled_by_cpi_reality_check": "false"\n        }\n      },\n      "variables": [\n        "PARTNER_ID"\n      ],\n      "survey_url": "https://survey.emi-rs.com/start/82SF26O9hxzoCpK"\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": 103106,\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/3Rwfy6r2WeMFnH5/",\n          "mc_count": 0,\n          "tc_count": 0,\n          "test_url": "https://survey.emi-rs.com/start/3Rwfy6r2WeMFnH5/?test=1",\n          "incl_excl": 0,\n          "billing_id": "63008J",\n          "field_time": 5,\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": 1727879919321,\n          "offer_price": 2.25,\n          "soft_launch": {\n            "enable": false\n          },\n          "uniqueLinks": false,\n          "expected_loi": 10,\n          "is_dq_enable": false,\n          "ps_survey_id": 34705305,\n          "survey_title": "IL Chicago Healthcare SEPT 2024 (clone #54332)",\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                "60101",\n                "60103",\n                "60104",\n                "60105",\n                "60106",\n                "60108",\n                "60116",\n                "60117",\n                "60126",\n                "60128",\n                "60130",\n                "60131",\n                "60132",\n                "60133",\n                "60137",\n                "60138",\n                "60139",\n                "60141",\n                "60143",\n                "60148",\n                "60153",\n                "60154",\n                "60155",\n                "60157",\n                "60160",\n                "60161",\n                "60162",\n                "60163",\n                "60164",\n                "60165",\n                "60171",\n                "60172",\n                "60181",\n                "60185",\n                "60186",\n                "60187",\n                "60188",\n                "60189",\n                "60190",\n                "60191",\n                "60193",\n                "60194",\n                "60196",\n                "60197",\n                "60199",\n                "60301",\n                "60305",\n                "60399",\n                "60403",\n                "60404",\n                "60415",\n                "60418",\n                "60431",\n                "60432",\n                "60434",\n                "60435",\n                "60439",\n                "60440",\n                "60441",\n                "60446",\n                "60448",\n                "60451",\n                "60452",\n                "60453",\n                "60454",\n                "60455",\n                "60457",\n                "60458",\n                "60459",\n                "60462",\n                "60463",\n                "60464",\n                "60465",\n                "60467",\n                "60480",\n                "60482",\n                "60487",\n                "60490",\n                "60491",\n                "60501",\n                "60502",\n                "60503",\n                "60504",\n                "60505",\n                "60506",\n                "60507",\n                "60510",\n                "60513",\n                "60514",\n                "60515",\n                "60516",\n                "60517",\n                "60519",\n                "60521",\n                "60522",\n                "60523",\n                "60525",\n                "60526",\n                "60527",\n                "60532",\n                "60534",\n                "60538",\n                "60539",\n                "60540",\n                "60542",\n                "60543",\n                "60544",\n                "60546",\n                "60555",\n                "60558",\n                "60559",\n                "60561",\n                "60563",\n                "60564",\n                "60565",\n                "60566",\n                "60567",\n                "60568",\n                "60569",\n                "60572",\n                "60585",\n                "60586",\n                "60598",\n                "60599",\n                "60682",\n                "60707",\n                "60410",\n                "60421",\n                "60442",\n                "60445",\n                "60447",\n                "60450",\n                "60481",\n                "60612",\n                "60624",\n                "60901",\n                "60914",\n                "60915",\n                "60950",\n                "60107",\n                "60120",\n                "60123",\n                "60169",\n                "60004",\n                "60005",\n                "60007",\n                "60008",\n                "60010",\n                "60012",\n                "60013",\n                "60014",\n                "60020",\n                "60021",\n                "60025",\n                "60030",\n                "60031",\n                "60041",\n                "60042",\n                "60046",\n                "60047",\n                "60048",\n                "60050",\n                "60051",\n                "60056",\n                "60060",\n                "60061",\n                "60067",\n                "60068",\n                "60073",\n                "60074",\n                "60084",\n                "60089",\n                "60098",\n                "60102",\n                "60110",\n                "60118",\n                "60134",\n                "60142",\n                "60156",\n                "60173",\n                "60174",\n                "60177",\n                "60184",\n                "60192",\n                "60195",\n                "60631",\n                "60647",\n                "60656",\n                "60706",\n                "60714",\n                "60608",\n                "60616",\n                "60803",\n                "60456",\n                "60652",\n                "60805"\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": 33,\n          "quota_throttling": false,\n          "is_modular_survey": false,\n          "subscriber_emails": [\n            "brittney.marston@emi-rs.com"\n          ],\n          "completes_required": 8,\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-09-30T18:42:14.344Z",\n          "buyer_surveygroup_refs": [],\n          "test_ps_survey_entry_link": "https://spectrumsurveys.com/#/start-survey?survey_id=34705305&ps_redirect_test=1&bsec=a70mx8&supplier_id=23",\n          "project_last_complete_date": "2024-10-12T21:32:48.490Z",\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/3Rwfy6r2WeMFnH5"\n    },\n    "status": "closed"\n  },\n  "disqo": {\n    "success": true\n  }\n}",
    "subject": "Update project status error"
  }
}