Queue Redis 1/notification

3909

Actions
State
Succeeded
Timestamp
Mon, Apr 14, 2025 5:30 PM
Attempts Made
0
Permalinks
Job 3909 JSON
Data
{
  "template": "error_notification",
  "user": {
    "name": "Gyula Szabó",
    "email": "gyszabo@gmail.com"
  },
  "params": {
    "message": "{\n  "project_id": 56456,\n  "status": "live",\n  "client_id": null,\n  "user_id": 31,\n  "connector": false,\n  "prodege": {\n    "success": false,\n    "error": "Error: This project cannot be set to LIVE until the new CPI is approved\\nError: Your Max Average CPI must be greater than or equal to the Average CPI that will result if the survey goes live / resumes.\\nNo 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": 112315,\n      "use_panel_api": true,\n      "panel_api": "prodege",\n      "api_data": {\n        "quotas": {\n          "570885094": {\n            "active": "true",\n            "quota_id": "570885094",\n            "quota_name": "",\n            "quota_clicks": "0",\n            "quota_completes": "0",\n            "calculation_type": "1",\n            "prodege_project_id": "187738796",\n            "targeting_criteria": [\n              {\n                "operator": "BETWEEN",\n                "precodes": [\n                  "99",\n                  "25"\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                  "1",\n                  "2",\n                  "3",\n                  "9",\n                  "6"\n                ],\n                "question_id": "379"\n              }\n            ],\n            "number_of_respondents": "75"\n          }\n        },\n        "project": {\n          "cpi": 8,\n          "loi": "20",\n          "status": "COMPLETE",\n          "max_cpi": "4.05",\n          "country_id": "1",\n          "project_id": "56456",\n          "expected_ir": "20",\n          "project_url": "https://survey.emi-rs.com/start/EVpjJ2E8OI9bU40/%transid%",\n          "ir_based_cpi": "8",\n          "project_name": "RJR Disposables Consumer Deep Dive Quant",\n          "reference_id": "67189",\n          "current_avg_cpi": "4.3463635",\n          "project_type_id": "1",\n          "prodege_project_id": 187738796,\n          "disabled_by_cpi_reality_check": "true"\n        }\n      },\n      "variables": [\n        "PARTNER_ID"\n      ],\n      "survey_url": "https://survey.emi-rs.com/start/EVpjJ2E8OI9bU40"\n    },\n    "status": "live"\n  },\n  "purespectrum": {\n    "success": false,\n    "error": "Error: Status can not be changed of closed survey\\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": 112596,\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          "aida": {\n            "enabled": false,\n            "selected_quota_ids": []\n          },\n          "feot": {},\n          "quotas": [],\n          "product": "",\n          "blend_id": null,\n          "live_url": "https://survey.emi-rs.com/start/WXJrf6U0yvQz6D3/",\n          "mc_count": 0,\n          "tc_count": 0,\n          "test_url": "https://survey.emi-rs.com/start/WXJrf6U0yvQz6D3/?test=1",\n          "incl_excl": 0,\n          "billing_id": "67189",\n          "field_time": 2,\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": 20,\n          "launch_date": 1744373526169,\n          "offer_price": 3,\n          "soft_launch": {\n            "enable": false\n          },\n          "uniqueLinks": false,\n          "expected_loi": 20,\n          "is_dq_enable": false,\n          "ps_survey_id": 39908978,\n          "survey_title": "RJR Disposables Consumer Deep Dive Quant",\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": 34,\n                  "from": 25,\n                  "units": 311\n                }\n              ],\n              "qualification_code": 212\n            },\n            {\n              "condition_codes": [\n                "1",\n                "2",\n                "3",\n                "4"\n              ],\n              "qualification_code": 223\n            },\n            {\n              "condition_codes": [\n                "111",\n                "112",\n                "113"\n              ],\n              "qualification_code": 2653\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": 300,\n          "survey_external_id": "",\n          "survey_launch_date": 1744373526169,\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-04-11T12:10:47.781Z",\n          "buyer_surveygroup_refs": [],\n          "test_ps_survey_entry_link": "https://spectrumsurveys.com/#/start-survey?survey_id=39908978&ps_redirect_test=1&bsec=a70mx8&supplier_id=23",\n          "project_last_complete_date": "2025-04-11T22:47:58.366Z",\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/WXJrf6U0yvQz6D3"\n    },\n    "status": "live"\n  },\n  "disqo": {\n    "success": false,\n    "error": "Error: 002 - project status cannot be changed after set to Closed.\\n    at Abstract.invalidResponse (/src/lib/panel_api/abstract.js:156:12)\\n    at Disqo.getResponseError (/src/lib/panel_api/disqo.js:431:23)\\n    at /src/lib/panel_api/disqo.js:421:22\\n    at new Promise (<anonymous>)\\n    at Disqo.processResponse (/src/lib/panel_api/disqo.js:419:12)\\n    at /src/lib/panel_api/disqo.js:415:28\\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\\n    at async Disqo.setProjectStatus (/src/lib/panel_api/disqo.js:342:20)\\n    at async updatePanelApi (/src/queue/handlers/update_project_status.js:15:21)\\n    at async Promise.all (index 2)",\n    "router": {\n      "id": 112313,\n      "use_panel_api": true,\n      "panel_api": "disqo",\n      "api_data": {\n        "quotas": {\n          "53487": {\n            "id": "53487",\n            "cpi": 3.11,\n            "name": "SL",\n            "status": "LIVE",\n            "createdAt": "2025-04-03T19:23:17.017Z",\n            "updatedAt": "2025-04-03T19:23:38.890Z",\n            "project_id": "56456-67189",\n            "clicksWanted": 150,\n            "currentClicks": 0,\n            "qualifications": {\n              "and": [\n                {\n                  "equals": {\n                    "unit": null,\n                    "values": [\n                      "1",\n                      "2"\n                    ],\n                    "question": "gender"\n                  }\n                },\n                {\n                  "range": {\n                    "unit": "years",\n                    "values": [\n                      {\n                        "gte": "25",\n                        "lte": "99"\n                      }\n                    ],\n                    "question": "age"\n                  }\n                },\n                {\n                  "equals": {\n                    "unit": null,\n                    "values": [\n                      "1",\n                      "2",\n                      "3",\n                      "4",\n                      "5"\n                    ],\n                    "question": "smoke"\n                  }\n                }\n              ]\n            },\n            "completesWanted": 75,\n            "currentCompletes": 0,\n            "isAcceptingPanelists": false\n          }\n        },\n        "project": {\n          "id": "56456-67189",\n          "cpi": 3.11,\n          "loi": 20,\n          "url": "https://survey.emi-rs.com/start/tGKvI88JU8jUkRc/",\n          "name": "RJR Disposables Consumer Deep Dive Quant",\n          "buyer": "",\n          "status": "CLOSED",\n          "country": "US",\n          "devices": [\n            "PHONE",\n            "TABLET",\n            "DESKTOP"\n          ],\n          "clientId": 82788,\n          "closedAt": "2025-04-14T15:19:13.635Z",\n          "createdAt": "2025-04-02T21:32:36.126Z",\n          "studyType": "AD_HOC",\n          "updatedAt": "2025-04-14T15:19:13.635Z",\n          "allocation": null,\n          "supplierId": 54637,\n          "autoCloseAt": null,\n          "completedAt": null,\n          "redirectUrl": null,\n          "clicksWanted": 1000,\n          "currentClicks": 0,\n          "trackingField": "CLICKS",\n          "conversionRate": 20,\n          "qualifications": {\n            "and": [\n              {\n                "equals": {\n                  "unit": null,\n                  "values": [\n                    "1",\n                    "2"\n                  ],\n                  "question": "gender"\n                }\n              },\n              {\n                "range": {\n                  "unit": "years",\n                  "values": [\n                    {\n                      "gte": "25",\n                      "lte": "99"\n                    }\n                  ],\n                  "question": "age"\n                }\n              },\n              {\n                "equals": {\n                  "unit": null,\n                  "values": [\n                    "1",\n                    "2",\n                    "3",\n                    "4",\n                    "5"\n                  ],\n                  "question": "smoke"\n                }\n              }\n            ]\n          },\n          "completesWanted": 500,\n          "currentCompletes": 0,\n          "enforceScreenOut": true,\n          "hasExcludedUsers": false,\n          "hasIncludedUsers": false,\n          "urlTrackingParam": "tid",\n          "hasExcludedProjects": false,\n          "isAcceptingPanelists": false,\n          "supplierUserIncentive": null\n        }\n      },\n      "variables": [\n        "tid"\n      ],\n      "survey_url": "https://survey.emi-rs.com/start/tGKvI88JU8jUkRc"\n    },\n    "status": "live"\n  }\n}",
    "subject": "Update project status error"
  }
}