Queue Redis 1/notification

3194

Actions
State
Succeeded
Timestamp
Wed, Mar 5, 2025 10:12 PM
Attempts Made
0
Permalinks
Job 3194 JSON
Data
{
  "template": "error_notification",
  "user": {
    "name": "Gyula Szabó",
    "email": "gyszabo@gmail.com"
  },
  "params": {
    "message": "{\n  "project_id": 56008,\n  "status": "closed",\n  "client_id": null,\n  "user_id": 56,\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": 109845,\n      "use_panel_api": true,\n      "panel_api": "prodege",\n      "api_data": {\n        "quotas": {\n          "562476556": {\n            "active": "true",\n            "quota_id": "562476556",\n            "quota_name": "",\n            "quota_clicks": "40",\n            "quota_completes": "2",\n            "calculation_type": "1",\n            "prodege_project_id": "184923027",\n            "targeting_criteria": [\n              {\n                "operator": "OR",\n                "precodes": [\n                  "18",\n                  "19",\n                  "20",\n                  "21",\n                  "22",\n                  "23",\n                  "24",\n                  "25",\n                  "26",\n                  "27",\n                  "28",\n                  "29",\n                  "30",\n                  "31",\n                  "32",\n                  "33",\n                  "34",\n                  "35",\n                  "36",\n                  "37",\n                  "38",\n                  "39",\n                  "40",\n                  "41",\n                  "42",\n                  "43",\n                  "44",\n                  "45",\n                  "46",\n                  "47",\n                  "48",\n                  "49",\n                  "50",\n                  "51",\n                  "52",\n                  "53",\n                  "54",\n                  "55",\n                  "56",\n                  "57",\n                  "58",\n                  "59",\n                  "60",\n                  "61",\n                  "62",\n                  "63",\n                  "64",\n                  "65",\n                  "66",\n                  "67",\n                  "68",\n                  "69",\n                  "70",\n                  "71",\n                  "72",\n                  "73",\n                  "74",\n                  "75",\n                  "76",\n                  "77",\n                  "78",\n                  "79",\n                  "80",\n                  "81",\n                  "82",\n                  "83",\n                  "84",\n                  "85",\n                  "86",\n                  "87",\n                  "88",\n                  "89",\n                  "90",\n                  "91",\n                  "92",\n                  "93",\n                  "94",\n                  "95",\n                  "96",\n                  "97",\n                  "98",\n                  "99"\n                ],\n                "question_id": "1"\n              },\n              {\n                "operator": "OR",\n                "precodes": [\n                  "6",\n                  "45"\n                ],\n                "question_id": "8"\n              },\n              {\n                "operator": "OR",\n                "precodes": [\n                  "1"\n                ],\n                "question_id": "25"\n              },\n              {\n                "operator": "OR",\n                "precodes": [\n                  "2",\n                  "3",\n                  "5",\n                  "6",\n                  "7",\n                  "8",\n                  "9",\n                  "10",\n                  "11",\n                  "12",\n                  "13",\n                  "14",\n                  "15",\n                  "16",\n                  "17"\n                ],\n                "question_id": "5"\n              },\n              {\n                "operator": "OR",\n                "precodes": [\n                  "1"\n                ],\n                "question_id": "3"\n              }\n            ],\n            "number_of_respondents": "20"\n          }\n        },\n        "project": {\n          "cpi": 1.76,\n          "loi": "15",\n          "status": "COMPLETE",\n          "max_cpi": "1.76",\n          "country_id": "1",\n          "project_id": "56008",\n          "expected_ir": "60",\n          "project_url": "https://survey.emi-rs.com/start/X6Jy1NmCuBBi6qD/%transid%",\n          "ir_based_cpi": "",\n          "project_name": "Defenders of Wildlife National Survey (clone #55999)",\n          "reference_id": "67456",\n          "current_avg_cpi": "1.76",\n          "project_type_id": "1",\n          "prodege_project_id": 184923027,\n          "disabled_by_cpi_reality_check": "false"\n        }\n      },\n      "variables": [\n        "PARTNER_ID"\n      ],\n      "survey_url": "https://survey.emi-rs.com/start/X6Jy1NmCuBBi6qD"\n    },\n    "status": "closed"\n  },\n  "tapresearch": {\n    "success": true\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 2)\\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": 109847,\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/19Z7xiXb3Nd31NW/",\n          "mc_count": 0,\n          "tc_count": 0,\n          "test_url": "https://survey.emi-rs.com/start/19Z7xiXb3Nd31NW/?test=1",\n          "incl_excl": 0,\n          "billing_id": "67456",\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": 60,\n          "launch_date": 1740596631234,\n          "offer_price": 2.24,\n          "soft_launch": {\n            "enable": false\n          },\n          "uniqueLinks": false,\n          "expected_loi": 15,\n          "is_dq_enable": false,\n          "ps_survey_id": 38657088,\n          "survey_title": "Defenders of Wildlife National Survey (clone #55999)",\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              ],\n              "qualification_code": 211\n            },\n            {\n              "range_sets": [\n                {\n                  "to": 64,\n                  "from": 45,\n                  "units": 311\n                }\n              ],\n              "qualification_code": 212\n            },\n            {\n              "condition_codes": [\n                "8",\n                "49"\n              ],\n              "qualification_code": 225\n            },\n            {\n              "condition_codes": [\n                "111"\n              ],\n              "qualification_code": 1499\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            "greta.propp@emi-rs.com"\n          ],\n          "completes_required": 50,\n          "survey_external_id": "",\n          "survey_launch_date": 1740596631234,\n          "pds_ignore_override": false,\n          "survey_localization": "en_US",\n          "survey_category_code": 232,\n          "buyer_surveygroup_ref": null,\n          "project_creation_date": "2025-02-20T20:51:58.403Z",\n          "buyer_surveygroup_refs": [],\n          "test_ps_survey_entry_link": "https://spectrumsurveys.com/#/start-survey?survey_id=38657088&ps_redirect_test=1&bsec=a70mx8&supplier_id=23",\n          "project_last_complete_date": "2025-02-26T19:35:54.907Z",\n          "supplier_allocation_throttle": false,\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/19Z7xiXb3Nd31NW"\n    },\n    "status": "closed"\n  },\n  "disqo": {\n    "success": true\n  }\n}",
    "subject": "Update project status error"
  }
}