Queue Redis 1/notification

2397

Actions
State
Succeeded
Timestamp
Thu, Dec 19, 2024 11:47 PM
Attempts Made
0
Permalinks
Job 2397 JSON
Data
{
  "template": "error_notification",
  "user": {
    "name": "Gyula Szabó",
    "email": "gyszabo@gmail.com"
  },
  "params": {
    "message": "{\n  "project_id": 55399,\n  "status": "paused",\n  "client_id": null,\n  "user_id": 58,\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": 106736,\n      "use_panel_api": true,\n      "panel_api": "prodege",\n      "api_data": {\n        "quotas": {\n          "550430102": {\n            "active": "true",\n            "quota_id": "550430102",\n            "quota_name": "Males",\n            "quota_clicks": "150",\n            "quota_completes": "56",\n            "calculation_type": "1",\n            "prodege_project_id": "180171826",\n            "targeting_criteria": [\n              {\n                "operator": "BETWEEN",\n                "precodes": [\n                  "18",\n                  "99"\n                ],\n                "question_id": "1"\n              },\n              {\n                "operator": "OR",\n                "precodes": [\n                  "1"\n                ],\n                "question_id": "3"\n              },\n              {\n                "operator": "OR",\n                "precodes": [\n                  "1",\n                  "3",\n                  "4",\n                  "6",\n                  "8",\n                  "9",\n                  "10",\n                  "11",\n                  "13",\n                  "14",\n                  "15",\n                  "16",\n                  "17",\n                  "18",\n                  "19",\n                  "21",\n                  "23",\n                  "24",\n                  "25",\n                  "26",\n                  "27",\n                  "28",\n                  "29",\n                  "32",\n                  "34",\n                  "35",\n                  "36",\n                  "37",\n                  "38",\n                  "39",\n                  "41",\n                  "42",\n                  "43",\n                  "44",\n                  "45",\n                  "47",\n                  "48",\n                  "49",\n                  "50",\n                  "51"\n                ],\n                "question_id": "8"\n              }\n            ],\n            "number_of_respondents": "100"\n          },\n          "550430161": {\n            "active": "true",\n            "quota_id": "550430161",\n            "quota_name": "Females",\n            "quota_clicks": "632",\n            "quota_completes": "153",\n            "calculation_type": "1",\n            "prodege_project_id": "180171826",\n            "targeting_criteria": [\n              {\n                "operator": "BETWEEN",\n                "precodes": [\n                  "18",\n                  "99"\n                ],\n                "question_id": "1"\n              },\n              {\n                "operator": "OR",\n                "precodes": [\n                  "2"\n                ],\n                "question_id": "3"\n              },\n              {\n                "operator": "OR",\n                "precodes": [\n                  "1",\n                  "3",\n                  "4",\n                  "6",\n                  "8",\n                  "9",\n                  "10",\n                  "11",\n                  "13",\n                  "14",\n                  "15",\n                  "16",\n                  "17",\n                  "18",\n                  "19",\n                  "21",\n                  "23",\n                  "24",\n                  "25",\n                  "26",\n                  "27",\n                  "28",\n                  "29",\n                  "32",\n                  "34",\n                  "35",\n                  "36",\n                  "37",\n                  "38",\n                  "39",\n                  "41",\n                  "42",\n                  "43",\n                  "44",\n                  "45",\n                  "47",\n                  "48",\n                  "49",\n                  "50",\n                  "51"\n                ],\n                "question_id": "8"\n              }\n            ],\n            "number_of_respondents": "163"\n          }\n        },\n        "project": {\n          "cpi": 2.3,\n          "loi": "16",\n          "status": "COMPLETE",\n          "max_cpi": "4",\n          "country_id": "1",\n          "project_id": "55399",\n          "expected_ir": "50",\n          "project_url": "https://survey.emi-rs.com/start/86mND3bs3G7t142/%transid%",\n          "ir_based_cpi": "",\n          "project_name": "NextEra BESS Target States Survey",\n          "reference_id": "67021",\n          "current_avg_cpi": "1.7498995",\n          "project_type_id": "1",\n          "prodege_project_id": 180171826,\n          "disabled_by_cpi_reality_check": "false"\n        }\n      },\n      "variables": [\n        "PARTNER_ID"\n      ],\n      "survey_url": "https://survey.emi-rs.com/start/86mND3bs3G7t142"\n    },\n    "status": "paused"\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 1)",\n    "router": {\n      "id": 106737,\n      "use_panel_api": true,\n      "panel_api": "disqo",\n      "api_data": {\n        "quotas": {\n          "49806": {\n            "id": "49806",\n            "cpi": 2.61,\n            "name": "Females",\n            "status": "LIVE",\n            "createdAt": "2024-12-15T15:34:10.311Z",\n            "updatedAt": "2024-12-18T20:28:04.100Z",\n            "project_id": "55399-67021",\n            "clicksWanted": 0,\n            "currentClicks": 692,\n            "qualifications": {\n              "and": [\n                {\n                  "equals": {\n                    "unit": null,\n                    "values": [\n                      "1"\n                    ],\n                    "question": "gender"\n                  }\n                },\n                {\n                  "range": {\n                    "unit": "years",\n                    "values": [\n                      {\n                        "gte": "18",\n                        "lte": "44"\n                      }\n                    ],\n                    "question": "age"\n                  }\n                },\n                {\n                  "equals": {\n                    "unit": null,\n                    "values": [\n                      "1",\n                      "3",\n                      "5",\n                      "7",\n                      "9",\n                      "10",\n                      "11",\n                      "12",\n                      "13",\n                      "14",\n                      "15",\n                      "16",\n                      "17",\n                      "18",\n                      "19",\n                      "2"\n                    ],\n                    "question": "ethnicity"\n                  }\n                },\n                {\n                  "equals": {\n                    "unit": null,\n                    "values": [\n                      "1",\n                      "2",\n                      "3",\n                      "4",\n                      "5",\n                      "7"\n                    ],\n                    "question": "politicalaffiliation"\n                  }\n                },\n                {\n                  "equals": {\n                    "unit": null,\n                    "values": [\n                      "AL",\n                      "AZ",\n                      "AR",\n                      "CO",\n                      "DE",\n                      "FL",\n                      "GA",\n                      "ID",\n                      "IL",\n                      "IN",\n                      "IA",\n                      "KS",\n                      "KY",\n                      "LA",\n                      "MD",\n                      "MI",\n                      "MN",\n                      "MS",\n                      "MO",\n                      "MT",\n                      "NE",\n                      "NV",\n                      "NM",\n                      "NC",\n                      "ND",\n                      "OH",\n                      "OK",\n                      "OR",\n                      "PA",\n                      "SC",\n                      "SD",\n                      "TN",\n                      "TX",\n                      "UT",\n                      "VA",\n                      "WA",\n                      "WV",\n                      "WI",\n                      "WY"\n                    ],\n                    "question": "georegion"\n                  }\n                }\n              ]\n            },\n            "completesWanted": 200,\n            "currentCompletes": 169,\n            "isAcceptingPanelists": false\n          },\n          "85607": {\n            "id": "85607",\n            "cpi": 2.61,\n            "name": "Males",\n            "status": "LIVE",\n            "createdAt": "2024-12-15T15:33:44.059Z",\n            "updatedAt": "2024-12-18T20:28:46.189Z",\n            "project_id": "55399-67021",\n            "clicksWanted": 0,\n            "currentClicks": 775,\n            "qualifications": {\n              "and": [\n                {\n                  "equals": {\n                    "unit": null,\n                    "values": [\n                      "2"\n                    ],\n                    "question": "gender"\n                  }\n                },\n                {\n                  "range": {\n                    "unit": "years",\n                    "values": [\n                      {\n                        "gte": "18",\n                        "lte": "54"\n                      }\n                    ],\n                    "question": "age"\n                  }\n                },\n                {\n                  "equals": {\n                    "unit": null,\n                    "values": [\n                      "1",\n                      "3",\n                      "5",\n                      "7",\n                      "9",\n                      "10",\n                      "11",\n                      "12",\n                      "13",\n                      "14",\n                      "15",\n                      "16",\n                      "17",\n                      "18",\n                      "19",\n                      "2"\n                    ],\n                    "question": "ethnicity"\n                  }\n                },\n                {\n                  "equals": {\n                    "unit": null,\n                    "values": [\n                      "1",\n                      "2",\n                      "3",\n                      "4",\n                      "5",\n                      "7"\n                    ],\n                    "question": "politicalaffiliation"\n                  }\n                },\n                {\n                  "equals": {\n                    "unit": null,\n                    "values": [\n                      "AL",\n                      "AZ",\n                      "AR",\n                      "CO",\n                      "DE",\n                      "FL",\n                      "GA",\n                      "ID",\n                      "IL",\n                      "IN",\n                      "IA",\n                      "KS",\n                      "KY",\n                      "LA",\n                      "MD",\n                      "MI",\n                      "MN",\n                      "MS",\n                      "MO",\n                      "MT",\n                      "NE",\n                      "NV",\n                      "NM",\n                      "NC",\n                      "ND",\n                      "OH",\n                      "OK",\n                      "OR",\n                      "PA",\n                      "SC",\n                      "SD",\n                      "TN",\n                      "TX",\n                      "UT",\n                      "VA",\n                      "WA",\n                      "WV",\n                      "WI",\n                      "WY"\n                    ],\n                    "question": "georegion"\n                  }\n                }\n              ]\n            },\n            "completesWanted": 270,\n            "currentCompletes": 219,\n            "isAcceptingPanelists": false\n          }\n        },\n        "project": {\n          "id": "55399-67021",\n          "cpi": 2.61,\n          "loi": 16,\n          "url": "https://survey.emi-rs.com/start/J47JXz6W2Kl8E09/",\n          "name": "NextEra BESS Target States Survey",\n          "buyer": "",\n          "status": "CLOSED",\n          "country": "US",\n          "devices": [\n            "PHONE",\n            "TABLET",\n            "DESKTOP"\n          ],\n          "clientId": 82788,\n          "closedAt": "2024-12-19T23:36:43.652Z",\n          "createdAt": "2024-12-15T15:32:58.599Z",\n          "studyType": "AD_HOC",\n          "updatedAt": "2024-12-19T23:36:43.652Z",\n          "allocation": null,\n          "supplierId": 54637,\n          "autoCloseAt": null,\n          "completedAt": null,\n          "redirectUrl": null,\n          "clicksWanted": 0,\n          "currentClicks": 1467,\n          "trackingField": "COMPLETES",\n          "conversionRate": 50,\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": "18",\n                      "lte": "99"\n                    }\n                  ],\n                  "question": "age"\n                }\n              }\n            ]\n          },\n          "completesWanted": 350,\n          "currentCompletes": 388,\n          "enforceScreenOut": true,\n          "hasExcludedUsers": false,\n          "hasIncludedUsers": false,\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/J47JXz6W2Kl8E09"\n    },\n    "status": "paused"\n  }\n}",
    "subject": "Update project status error"
  }
}