Queue Redis 1/notification

990

Actions
State
Succeeded
Timestamp
Mon, Nov 11, 2024 3:02 PM
Attempts Made
0
Permalinks
Job 990 JSON
Data
{
  "template": "error_notification",
  "user": {
    "name": "Gyula Szabó",
    "email": "gyszabo@gmail.com"
  },
  "params": {
    "message": "{\n  "project_id": 54938,\n  "status": "paused",\n  "client_id": null,\n  "user_id": 18,\n  "connector": false,\n  "prodege": {\n    "success": false,\n    "error": "Error: PENDING Projects cannot transition to PAUSED or COMPLETE\\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": 104611,\n      "use_panel_api": true,\n      "panel_api": "prodege",\n      "api_data": {\n        "quotas": {\n          "541264948": {\n            "active": true,\n            "quota_id": 541264948,\n            "prodege_project_id": 175836168,\n            "targeting_criteria": [\n              {\n                "operator": "OR",\n                "precodes": [\n                  16,\n                  17,\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            "number_of_respondents": 5000\n          }\n        },\n        "project": {\n          "cpi": 3.66,\n          "loi": 25,\n          "status": "PENDING",\n          "country_id": 1,\n          "project_id": "54938",\n          "expected_ir": 40,\n          "manager_ids": [\n            21023\n          ],\n          "project_url": "https://survey.emi-rs.com/start/SgyfGTbd52m2xbq/%transid%",\n          "ir_based_cpi": "",\n          "project_name": "66706 Skincare",\n          "reference_id": "66706",\n          "current_avg_cpi": 0,\n          "project_type_id": 1,\n          "prodege_project_id": 175836168,\n          "disabled_by_cpi_reality_check": false\n        }\n      },\n      "variables": [\n        "PARTNER_ID"\n      ],\n      "survey_url": "https://survey.emi-rs.com/start/SgyfGTbd52m2xbq"\n    },\n    "status": "paused"\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": 104613,\n      "use_panel_api": true,\n      "panel_api": "tapresearch",\n      "api_data": {\n        "quotas": {\n          "50758884539": {\n            "id": 50758884539,\n            "name": "Quota #1",\n            "is_global": false,\n            "campaign_id": 19387123,\n            "num_respondents": 5000,\n            "is_click_balanced": false,\n            "campaign_qualifications": [\n              {\n                "pre_codes": [\n                  16,\n                  17,\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": 42\n              }\n            ]\n          }\n        },\n        "project": {\n          "id": 19387123,\n          "cpi": "3.66",\n          "name": "66706 Skincare",\n          "status": 5,\n          "incidence": 40,\n          "is_retarget": false,\n          "days_in_field": 5,\n          "supplier_link": "https://survey.emi-rs.com/start/PY16iNE8jh4Pm5w/{ID}",\n          "retarget_count": 0,\n          "total_remaining": 0,\n          "is_maid_targeted": false,\n          "reentry_interval": null,\n          "supported_devices": [\n            0,\n            1,\n            2\n          ],\n          "country_language_id": 1,\n          "length_of_interview": 25,\n          "max_daily_completes": null,\n          "custom_campaign_qualifications": []\n        }\n      },\n      "variables": [\n        "PARTNER_ID"\n      ],\n      "survey_url": "https://survey.emi-rs.com/start/PY16iNE8jh4Pm5w"\n    },\n    "status": "paused"\n  },\n  "purespectrum": {\n    "success": true\n  },\n  "disqo": {\n    "success": true\n  },\n  "marketcube": {\n    "success": true\n  }\n}",
    "subject": "Update project status error"
  }
}