Queue Redis 1/notification

1116

Actions
State
Succeeded
Timestamp
Mon, Nov 18, 2024 3:10 PM
Attempts Made
0
Permalinks
Job 1116 JSON
Data
{
  "template": "error_notification",
  "user": {
    "name": "Gyula Szabó",
    "email": "gyszabo@gmail.com"
  },
  "params": {
    "message": "{\n  "project_id": 54761,\n  "status": "closed",\n  "client_id": 2591,\n  "user_id": 2498,\n  "prodege": {\n    "success": true\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 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": 103806,\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          "feot": {},\n          "quotas": [\n            {\n              "criteria": [\n                {\n                  "range_sets": [\n                    {\n                      "to": 85,\n                      "from": 21,\n                      "units": 311\n                    }\n                  ],\n                  "qualification_code": 212\n                },\n                {\n                  "condition_codes": [\n                    "34711",\n                    "34714",\n                    "34736",\n                    "34715",\n                    "34753",\n                    "34756",\n                    "34787",\n                    "32828",\n                    "32822",\n                    "32825",\n                    "32839",\n                    "32824",\n                    "32837",\n                    "32703",\n                    "32792",\n                    "32808",\n                    "32712",\n                    "34786",\n                    "32818",\n                    "34761",\n                    "32835",\n                    "32811",\n                    "32817",\n                    "32826",\n                    "32832",\n                    "32810",\n                    "32807",\n                    "32812",\n                    "32819",\n                    "32809",\n                    "32821",\n                    "32806",\n                    "32789",\n                    "32805",\n                    "32836",\n                    "32751",\n                    "32803",\n                    "32827",\n                    "32829",\n                    "32804",\n                    "32801",\n                    "32833",\n                    "32820",\n                    "32814",\n                    "34734",\n                    "32816",\n                    "32831",\n                    "32709",\n                    "32798",\n                    "34760",\n                    "32830",\n                    "32298",\n                    "32853",\n                    "32891",\n                    "32896",\n                    "32897",\n                    "34777",\n                    "34778",\n                    "32704",\n                    "32710",\n                    "32733",\n                    "32768",\n                    "32790",\n                    "32793",\n                    "32794",\n                    "32799",\n                    "32802",\n                    "32834",\n                    "32854",\n                    "32855",\n                    "32856",\n                    "32857",\n                    "32858",\n                    "32859",\n                    "32860",\n                    "32861",\n                    "32862",\n                    "32867",\n                    "32868",\n                    "32869",\n                    "32872",\n                    "32877",\n                    "32878",\n                    "32885",\n                    "32886",\n                    "32887",\n                    "34740",\n                    "34746",\n                    "34744",\n                    "34741",\n                    "34758",\n                    "34743",\n                    "34772",\n                    "34771",\n                    "34747",\n                    "34769",\n                    "34773",\n                    "34739",\n                    "34770",\n                    "33848",\n                    "34742",\n                    "34745",\n                    "32765",\n                    "32771",\n                    "32708",\n                    "32746",\n                    "32714",\n                    "32707",\n                    "32773",\n                    "32779",\n                    "32750",\n                    "32701",\n                    "32766",\n                    "32730",\n                    "32732",\n                    "32715",\n                    "32716",\n                    "32718",\n                    "32719",\n                    "32747",\n                    "32752",\n                    "32762",\n                    "32772",\n                    "32791",\n                    "32795"\n                  ],\n                  "qualification_code": 229\n                }\n              ],\n              "ps_quota_id": "0e6c725c-820c-4757-933b-20325b9cb428",\n              "buyer_quota_id": "E53FlSSYBT",\n              "required_count": 559\n            }\n          ],\n          "product": "",\n          "blend_id": null,\n          "live_url": "https://survey.emi-rs.com/start/1T2I7UemT1PrK90/",\n          "mc_count": 0,\n          "tc_count": 0,\n          "test_url": "https://survey.emi-rs.com/start/1T2I7UemT1PrK90/?test=1",\n          "incl_excl": 0,\n          "billing_id": "CON-7320",\n          "field_time": 10,\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": 40,\n          "offer_price": 2.55,\n          "soft_launch": {\n            "enable": false\n          },\n          "uniqueLinks": false,\n          "expected_loi": 15,\n          "is_dq_enable": false,\n          "ps_survey_id": 35337845,\n          "survey_title": "Dr. Phil",\n          "unique_links": {\n            "enable": false\n          },\n          "blend_applied": false,\n          "buyer_message": null,\n          "url_transform": false,\n          "qualifications": [\n            {\n              "range_sets": [\n                {\n                  "to": 85,\n                  "from": 21,\n                  "units": 311\n                }\n              ],\n              "qualification_code": 212\n            },\n            {\n              "condition_codes": [\n                "34711",\n                "34714",\n                "34736",\n                "34715",\n                "34753",\n                "34756",\n                "34787",\n                "32828",\n                "32822",\n                "32825",\n                "32839",\n                "32824",\n                "32837",\n                "32703",\n                "32792",\n                "32808",\n                "32712",\n                "34786",\n                "32818",\n                "34761",\n                "32835",\n                "32811",\n                "32817",\n                "32826",\n                "32832",\n                "32810",\n                "32807",\n                "32812",\n                "32819",\n                "32809",\n                "32821",\n                "32806",\n                "32789",\n                "32805",\n                "32836",\n                "32751",\n                "32803",\n                "32827",\n                "32829",\n                "32804",\n                "32801",\n                "32833",\n                "32820",\n                "32814",\n                "34734",\n                "32816",\n                "32831",\n                "32709",\n                "32798",\n                "34760",\n                "32830",\n                "32298",\n                "32853",\n                "32891",\n                "32896",\n                "32897",\n                "34777",\n                "34778",\n                "32704",\n                "32710",\n                "32733",\n                "32768",\n                "32790",\n                "32793",\n                "32794",\n                "32799",\n                "32802",\n                "32834",\n                "32854",\n                "32855",\n                "32856",\n                "32857",\n                "32858",\n                "32859",\n                "32860",\n                "32861",\n                "32862",\n                "32867",\n                "32868",\n                "32869",\n                "32872",\n                "32877",\n                "32878",\n                "32885",\n                "32886",\n                "32887",\n                "34740",\n                "34746",\n                "34744",\n                "34741",\n                "34758",\n                "34743",\n                "34772",\n                "34771",\n                "34747",\n                "34769",\n                "34773",\n                "34739",\n                "34770",\n                "33848",\n                "34742",\n                "34745",\n                "32765",\n                "32771",\n                "32708",\n                "32746",\n                "32714",\n                "32707",\n                "32773",\n                "32779",\n                "32750",\n                "32701",\n                "32766",\n                "32730",\n                "32732",\n                "32715",\n                "32716",\n                "32718",\n                "32719",\n                "32747",\n                "32752",\n                "32762",\n                "32772",\n                "32791",\n                "32795"\n              ],\n              "qualification_code": 229\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": 22,\n          "quota_throttling": false,\n          "is_modular_survey": false,\n          "subscriber_emails": [\n            "brittney.marston@emi-rs.com"\n          ],\n          "completes_required": 559,\n          "survey_external_id": "",\n          "pds_ignore_override": false,\n          "survey_localization": "en_US",\n          "survey_category_code": 220,\n          "buyer_surveygroup_ref": null,\n          "project_creation_date": "2024-10-15T21:28:32.772Z",\n          "buyer_surveygroup_refs": [],\n          "test_ps_survey_entry_link": "https://spectrumsurveys.com/#/start-survey?survey_id=35337845&ps_redirect_test=1&bsec=a70mx8&supplier_id=23",\n          "project_last_complete_date": null,\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/1T2I7UemT1PrK90"\n    },\n    "status": "closed"\n  }\n}",
    "subject": "Update project status error"
  }
}