Queue Redis 1/notification

542

Actions
State
Succeeded
Timestamp
Thu, Oct 3, 2024 7:00 PM
Attempts Made
0
Permalinks
Job 542 JSON
Data
{
  "template": "error_notification",
  "user": {
    "name": "Gyula Szabó",
    "email": "gyszabo@gmail.com"
  },
  "params": {
    "message": "{\n  "project_id": 54296,\n  "status": "closed",\n  "client_id": null,\n  "user_id": 49,\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": 101701,\n      "use_panel_api": true,\n      "panel_api": "prodege",\n      "api_data": {\n        "quotas": {\n          "524781273": {\n            "active": "true",\n            "quota_id": "524781273",\n            "quota_name": "all",\n            "quota_clicks": "238",\n            "quota_completes": "94",\n            "calculation_type": "1",\n            "prodege_project_id": "169226476",\n            "targeting_criteria": [\n              {\n                "operator": "BETWEEN",\n                "precodes": [\n                  "18",\n                  "54"\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                  "2",\n                  "4",\n                  "3"\n                ],\n                "question_id": "445"\n              },\n              {\n                "operator": "OR",\n                "precodes": [\n                  "2",\n                  "4"\n                ],\n                "question_id": "541"\n              }\n            ],\n            "number_of_respondents": "100"\n          }\n        },\n        "project": {\n          "cpi": 5.25,\n          "loi": "25",\n          "status": "COMPLETE",\n          "max_cpi": "5.25",\n          "country_id": "1",\n          "project_id": "54296",\n          "expected_ir": "75",\n          "manager_ids": [\n            "21037"\n          ],\n          "project_url": "https://survey.emi-rs.com/start/Ijp245ISTPMOqDo/%transid%",\n          "ir_based_cpi": "",\n          "project_name": "CBT National Beef Association Tracker AUGUST (clone #54040)",\n          "reference_id": "64428I",\n          "current_avg_cpi": "4.413853",\n          "project_type_id": "1",\n          "prodege_project_id": 169226476,\n          "disabled_by_cpi_reality_check": "false"\n        }\n      },\n      "variables": [\n        "PARTNER_ID"\n      ],\n      "survey_url": "https://survey.emi-rs.com/start/Ijp245ISTPMOqDo"\n    },\n    "status": "closed"\n  },\n  "tapresearch": {\n    "success": false,\n    "error": "Error: Invalid transition.\\n    at Abstract.invalidResponse (/src/lib/panel_api/abstract.js:156:12)\\n    at TapResearch.getResponseError (/src/lib/panel_api/tapresearch.js:397:23)\\n    at /src/lib/panel_api/tapresearch.js:387:28\\n    at new Promise (<anonymous>)\\n    at TapResearch.processResponse (/src/lib/panel_api/tapresearch.js:385:12)\\n    at /src/lib/panel_api/tapresearch.js:381:28\\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\\n    at async TapResearch.setProjectStatus (/src/lib/panel_api/tapresearch.js:350: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": 101702,\n      "use_panel_api": true,\n      "panel_api": "tapresearch",\n      "api_data": {\n        "quotas": {\n          "50749278470": {\n            "id": 50749278470,\n            "name": "9.25",\n            "is_global": false,\n            "campaign_id": "18943115",\n            "num_respondents": 12,\n            "is_click_balanced": false,\n            "campaign_qualifications": [\n              {\n                "pre_codes": [\n                  25,\n                  26,\n                  27,\n                  28,\n                  29,\n                  30,\n                  31,\n                  32,\n                  33,\n                  34\n                ],\n                "question_id": 42\n              },\n              {\n                "pre_codes": [\n                  1\n                ],\n                "question_id": 43\n              },\n              {\n                "pre_codes": [\n                  2,\n                  3,\n                  4,\n                  1\n                ],\n                "question_id": 122\n              }\n            ]\n          }\n        },\n        "project": {\n          "id": 18943115,\n          "cpi": "2.34",\n          "name": "CBT National Beef Association Tracker AUGUST (clone #54040)",\n          "status": 3,\n          "incidence": 75,\n          "is_retarget": false,\n          "days_in_field": 15,\n          "supplier_link": "https://survey.emi-rs.com/start/VBGX1qL4T1gWf0r/{ID}",\n          "retarget_count": 0,\n          "campaign_quotas": [\n            {\n              "id": "50749115997",\n              "name": "9.23",\n              "is_global": "false",\n              "num_respondents": "0",\n              "is_click_balanced": "false",\n              "campaign_qualifications": [\n                {\n                  "pre_codes": [\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                  ],\n                  "question_id": "42"\n                },\n                {\n                  "pre_codes": [\n                    "1"\n                  ],\n                  "question_id": "43"\n                },\n                {\n                  "pre_codes": [\n                    "2",\n                    "3",\n                    "4",\n                    "1"\n                  ],\n                  "question_id": "122"\n                }\n              ]\n            }\n          ],\n          "total_remaining": 0,\n          "buyer_account_id": "",\n          "is_maid_targeted": false,\n          "reentry_interval": null,\n          "redirect_test_url": "http://www.tapresearch.com/api/v1/campaigns/18943115/redirect_test",\n          "supported_devices": [\n            1,\n            2\n          ],\n          "country_language_id": 1,\n          "length_of_interview": 25,\n          "max_daily_completes": 30,\n          "custom_campaign_qualifications": [\n            {\n              "id": "51041368594",\n              "pre_codes": [\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              ],\n              "question_id": "42"\n            },\n            {\n              "id": "51041368595",\n              "pre_codes": [\n                "1"\n              ],\n              "question_id": "43"\n            },\n            {\n              "id": "51041368596",\n              "pre_codes": [\n                "2",\n                "3",\n                "4",\n                "1"\n              ],\n              "question_id": "122"\n            }\n          ]\n        }\n      },\n      "variables": [\n        "PARTNER_ID"\n      ],\n      "survey_url": "https://survey.emi-rs.com/start/VBGX1qL4T1gWf0r"\n    },\n    "status": "closed"\n  }\n}",
    "subject": "Update project status error"
  }
}