Queue Redis 1/notification

2853

Actions
State
Succeeded
Timestamp
Wed, Feb 5, 2025 2:56 PM
Attempts Made
0
Permalinks
Job 2853 JSON
Data
{
  "template": "error_notification",
  "user": {
    "name": "Gyula Szabó",
    "email": "gyszabo@gmail.com"
  },
  "params": {
    "message": "{\n  "project_id": 55591,\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": 107625,\n      "use_panel_api": true,\n      "panel_api": "prodege",\n      "api_data": {\n        "quotas": {\n          "553166972": {\n            "active": "true",\n            "quota_id": "553166972",\n            "quota_name": "",\n            "quota_clicks": "14",\n            "quota_completes": "3",\n            "calculation_type": "1",\n            "prodege_project_id": "181331612",\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                  "33873",\n                  "33825",\n                  "33870",\n                  "33852",\n                  "33876",\n                  "33872",\n                  "33875",\n                  "34711",\n                  "34714",\n                  "34715",\n                  "34756",\n                  "34787",\n                  "32822",\n                  "32824",\n                  "32837",\n                  "32809",\n                  "32812",\n                  "32819",\n                  "32821",\n                  "32825",\n                  "32830",\n                  "32836",\n                  "34760",\n                  "34786",\n                  "32827",\n                  "34741",\n                  "34743",\n                  "34744",\n                  "34746",\n                  "34747",\n                  "34758",\n                  "34769",\n                  "33848",\n                  "33837",\n                  "33844",\n                  "33850",\n                  "33853",\n                  "33854",\n                  "33880",\n                  "33881",\n                  "33884",\n                  "33896",\n                  "33897",\n                  "33898",\n                  "34759",\n                  "33801",\n                  "33803",\n                  "33805",\n                  "33809",\n                  "33810",\n                  "33811",\n                  "33812",\n                  "33813",\n                  "33815",\n                  "33823",\n                  "33827",\n                  "33830",\n                  "33838",\n                  "33839",\n                  "33841",\n                  "33843",\n                  "33855",\n                  "33859",\n                  "33860",\n                  "33868",\n                  "33849",\n                  "33836",\n                  "33845",\n                  "33851",\n                  "33858",\n                  "33856",\n                  "33877"\n                ],\n                "question_id": "24"\n              }\n            ],\n            "number_of_respondents": "20"\n          }\n        },\n        "project": {\n          "cpi": 1.76,\n          "loi": "15",\n          "status": "COMPLETE",\n          "max_cpi": "2.3",\n          "country_id": "1",\n          "project_id": "55591",\n          "expected_ir": "45",\n          "project_url": "https://survey.emi-rs.com/start/R43gLvCk57vNXlR/%transid%",\n          "ir_based_cpi": "",\n          "project_name": "FL Heartland- Rural Healthcare Tracker JAN 2025 (clone #55590)",\n          "reference_id": "66808",\n          "current_avg_cpi": "2.3",\n          "project_type_id": "1",\n          "prodege_project_id": 181331612,\n          "disabled_by_cpi_reality_check": "false"\n        }\n      },\n      "variables": [\n        "code",\n        "PARTNER_ID"\n      ],\n      "survey_url": "https://survey.emi-rs.com/start/R43gLvCk57vNXlR"\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": 107626,\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/lJ8lj3CW85sxLhA/3/",\n          "mc_count": 0,\n          "tc_count": 0,\n          "test_url": "https://survey.emi-rs.com/start/lJ8lj3CW85sxLhA/3/?test=1",\n          "incl_excl": 0,\n          "billing_id": "66808",\n          "field_time": 365,\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": 45,\n          "launch_date": 1735911469275,\n          "offer_price": 2.25,\n          "soft_launch": {\n            "enable": false\n          },\n          "uniqueLinks": false,\n          "expected_loi": 15,\n          "is_dq_enable": false,\n          "ps_survey_id": 37564645,\n          "survey_title": "FL Heartland- Rural Healthcare Tracker JAN 2025 (clone #55590)",\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                "33867",\n                "33882",\n                "33883",\n                "33885",\n                "33888",\n                "34711",\n                "34714",\n                "32824",\n                "34787",\n                "33848",\n                "34741",\n                "34743",\n                "34744",\n                "34746",\n                "34747",\n                "34758",\n                "33811",\n                "33860",\n                "33849",\n                "33827",\n                "33836",\n                "33837",\n                "33838",\n                "33843",\n                "33844",\n                "33845",\n                "33851",\n                "33853",\n                "33854",\n                "33855",\n                "33856",\n                "33858",\n                "33859",\n                "33877",\n                "33880",\n                "33881",\n                "33884",\n                "33896",\n                "33897",\n                "33898",\n                "34759",\n                "33801",\n                "33803",\n                "33805",\n                "33809",\n                "33810",\n                "33812",\n                "33813",\n                "33815",\n                "33823",\n                "33830",\n                "33839",\n                "33841",\n                "33850",\n                "33868"\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            "greta.propp@emi-rs.com"\n          ],\n          "completes_required": 40,\n          "survey_external_id": "",\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-01-02T16:56:27.786Z",\n          "buyer_surveygroup_refs": [],\n          "test_ps_survey_entry_link": "https://spectrumsurveys.com/#/start-survey?survey_id=37564645&ps_redirect_test=1&bsec=a70mx8&supplier_id=23",\n          "project_last_complete_date": "2025-01-20T16:32:23.235Z",\n          "supplier_allocation_throttle": false,\n          "is_pure_price_rate_card_enable": true\n        }\n      },\n      "variables": [\n        "code",\n        "transaction_id"\n      ],\n      "survey_url": "https://survey.emi-rs.com/start/lJ8lj3CW85sxLhA"\n    },\n    "status": "closed"\n  },\n  "disqo": {\n    "success": true\n  }\n}",
    "subject": "Update project status error"
  }
}