Queue Redis 1/notification

3971

Actions
State
Succeeded
Timestamp
Thu, Apr 17, 2025 7:06 PM
Attempts Made
0
Permalinks
Job 3971 JSON
Data
{
  "template": "error_notification",
  "user": {
    "name": "Gyula Szabó",
    "email": "gyszabo@gmail.com"
  },
  "params": {
    "message": "{\n  "project_id": 56391,\n  "status": "closed",\n  "client_id": null,\n  "user_id": 23,\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": 112022,\n      "use_panel_api": true,\n      "panel_api": "prodege",\n      "api_data": {\n        "quotas": {\n          "569962619": {\n            "active": true,\n            "quota_id": 569962619,\n            "quota_name": "SL",\n            "quota_clicks": "34",\n            "quota_completes": "0",\n            "calculation_type": "1",\n            "prodege_project_id": 187427324,\n            "targeting_criteria": [\n              {\n                "operator": "BETWEEN",\n                "precodes": [\n                  "30",\n                  "50"\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                  "25"\n                ],\n                "question_id": "444"\n              }\n            ],\n            "number_of_respondents": "10"\n          }\n        },\n        "project": {\n          "cpi": 2.79,\n          "loi": "15",\n          "status": "COMPLETE",\n          "max_cpi": "3.00",\n          "country_id": "1",\n          "project_id": "56391",\n          "expected_ir": "30",\n          "manager_ids": [\n            "21025"\n          ],\n          "project_url": "https://survey.emi-rs.com/start/z67sAiJ0F0hRpwK/%transid%",\n          "project_name": "Team 4 - Jersey Shorts Updated (clone #56323)",\n          "reference_id": "67466",\n          "current_avg_cpi": "0",\n          "project_type_id": "1",\n          "prodege_project_id": 187427324\n        }\n      },\n      "variables": [\n        "PARTNER_ID"\n      ],\n      "survey_url": "https://survey.emi-rs.com/start/z67sAiJ0F0hRpwK"\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": 112023,\n      "use_panel_api": true,\n      "panel_api": "tapresearch",\n      "api_data": {\n        "quotas": {\n          "50849130883": {\n            "id": 50849130883,\n            "name": "SL",\n            "is_global": false,\n            "campaign_id": 20363670,\n            "num_respondents": 10,\n            "is_click_balanced": false,\n            "campaign_qualifications": [\n              {\n                "pre_codes": [\n                  1,\n                  2\n                ],\n                "question_id": 43\n              },\n              {\n                "pre_codes": [\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                ],\n                "question_id": 42\n              },\n              {\n                "pre_codes": [\n                  524\n                ],\n                "question_id": 97\n              }\n            ]\n          }\n        },\n        "project": {\n          "id": 20363670,\n          "cpi": "2.79",\n          "name": "Team 4 - Jersey Shorts Updated (clone #56323)",\n          "status": 5,\n          "incidence": 30,\n          "is_retarget": false,\n          "days_in_field": 5,\n          "supplier_link": "https://survey.emi-rs.com/start/1IoM5Ab6RaK0zaD/{ID}",\n          "retarget_count": 0,\n          "total_remaining": 10,\n          "is_maid_targeted": false,\n          "reentry_interval": null,\n          "redirect_test_url": "http://www.tapresearch.com/api/v1/campaigns/20363670/redirect_test",\n          "supported_devices": [\n            0,\n            1,\n            2\n          ],\n          "country_language_id": 1,\n          "length_of_interview": 15,\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/1IoM5Ab6RaK0zaD"\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 2)\\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": 112024,\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            {\n              "criteria": [\n                {\n                  "condition_codes": [\n                    "111",\n                    "112"\n                  ],\n                  "qualification_code": 211\n                },\n                {\n                  "range_sets": [\n                    {\n                      "to": 50,\n                      "from": 30,\n                      "units": 311\n                    }\n                  ],\n                  "qualification_code": 212\n                },\n                {\n                  "condition_codes": [\n                    "524"\n                  ],\n                  "qualification_code": 231\n                }\n              ],\n              "ps_quota_id": "d53ac266-df02-4f17-a058-57a11c7688d5",\n              "buyer_quota_id": "SL",\n              "required_count": 10\n            }\n          ],\n          "product": "",\n          "blend_id": null,\n          "live_url": "https://survey.emi-rs.com/start/3FexwbB2XKHuaJG/",\n          "mc_count": 0,\n          "tc_count": 0,\n          "test_url": "https://survey.emi-rs.com/start/3FexwbB2XKHuaJG/?test=1",\n          "incl_excl": 0,\n          "billing_id": "67466",\n          "field_time": 5,\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": 30,\n          "launch_date": 1742483891273,\n          "offer_price": 3.25,\n          "soft_launch": {\n            "enable": false\n          },\n          "uniqueLinks": false,\n          "expected_loi": 15,\n          "is_dq_enable": false,\n          "ps_survey_id": 39574075,\n          "survey_title": "Team 4 - Jersey Shorts Updated (clone #56323)",\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": 30,\n                  "units": 311\n                }\n              ],\n              "qualification_code": 212\n            },\n            {\n              "condition_codes": [\n                "524"\n              ],\n              "qualification_code": 231\n            }\n          ],\n          "click_balancing": 0,\n          "is_feot_enabled": false,\n          "schedule_launch": {\n            "info": {\n              "date": null,\n              "hours": null,\n              "minutes": null,\n              "timezone": null,\n              "dateTimeInISO": null\n            },\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            "devin.mestemaker@emi-rs.com"\n          ],\n          "completes_required": 250,\n          "survey_external_id": "",\n          "survey_launch_date": 1742483891273,\n          "pds_ignore_override": false,\n          "survey_localization": "en_US",\n          "survey_category_code": 228,\n          "buyer_surveygroup_ref": null,\n          "project_creation_date": "2025-03-28T19:21:46.189Z",\n          "buyer_surveygroup_refs": [],\n          "test_ps_survey_entry_link": "https://spectrumsurveys.com/#/start-survey?survey_id=39574075&ps_redirect_test=1&bsec=a70mx8&supplier_id=23",\n          "project_last_complete_date": null,\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/3FexwbB2XKHuaJG"\n    },\n    "status": "closed"\n  },\n  "marketcube": {\n    "success": true\n  }\n}",
    "subject": "Update project status error"
  }
}