24472639 CustomerApi.Jobs.PublishNotificationJob
Queue notifications
Attempt 5 of 5
Priority 0
Tags ...
Node customer_api@10.10.0.159
Queue Time 00:00.356
Run Time 00:00.005
Inserted 8d ago
Scheduled 8d ago
Completed
Cancelled
Discarded 8d ago

Args

%{
  "account_id" => "25783",
  "data" => %{
    "account_insight_agent_id" => "b1a78d96-75e0-4bb2-a04c-1d964f19058d",
    "insights" => [
      %{
        "action_plan" => "Check whether these uploaded-list properties are still being refreshed. If not, replace the segment criteria or remove the segment from the live flow targeting so published experiences do not rely on outdated audience membership.",
        "actions" => [],
        "cta_text" => "Review targeting",
        "entity_id" => nil,
        "entity_type" => nil,
        "expected_impact" => "Reducing reliance on stale targeting data should improve audience accuracy and prevent live flows from reaching outdated segments or missing intended users.",
        "finding" => "- **[appcues_segment_f938c6b4-f4c6-4914-8c9b-f875a4151324](https://studio.appcues.com/settings/properties/user)**\n  - Last seen: 2025-06-03 UTC, which is more than 90 days old.\n  - This property is used by the active segment [Moderation banner_targeted list](https://studio.appcues.com/segments/f938c6b4-f4c6-4914-8c9b-f875a4151324/edit).\n  - That segment is referenced by the published flow [[Reviews] Moderation Services Upsell Flow](https://studio.appcues.com/flows/f310c4ee-c1fc-4ebb-a449-2d73d102a1eb/settings).\n  - Review it from the [User properties page](https://studio.appcues.com/settings/properties/user) by searching for the property name.\n- **[appcues_segment_d6fde00f-fa01-4103-90f2-29369bbce1bb](https://studio.appcues.com/settings/properties/user)**\n  - Last seen: 2025-06-18 UTC, which is more than 90 days old.\n  - This property is used by the active segment [[Reviews] Final v3 Widget list](https://studio.appcues.com/segments/d6fde00f-fa01-4103-90f2-29369bbce1bb/edit).\n  - That segment is referenced by the published flow [[Reviews] Widget V3 HT_Final Notice](https://studio.appcues.com/flows/13e68301-343c-499d-a995-60ca126b0634/settings).\n  - Review it from the [User properties page](https://studio.appcues.com/settings/properties/user) by searching for the property name.",
        "outcomes" => ["engagement", "activation"],
        "priority" => "high",
        "title" => "2 inactive upload properties are still targeting live flows",
        "type" => "issue"
      }
    ]
  },
  "notification_id" => "08430bf4-7d85-46a6-bcb4-72793ef1ebfa",
  "workflow_key" => "insight-issue-added"
}

Meta

%{"orig_scheduled_at" => 1776877005517608, "structured" => true}

Errors

Attempt 5—8d ago

** (Knock.ApiKeyMissingError)   The api_key setting is required to make requests to Knock.
  Please configure :api_key in config.exs, set the KNOCK_API_KEY
  environment variable, or pass into a new client instance.

    (knock 0.5.0) lib/knock/client.ex:65: Knock.Client.new/1
    (customer_api 1.21.0+cf165045) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
    (customer_api 1.21.0+cf165045) lib/customer_api/jobs/publish_notification_job.ex:93: CustomerApi.Jobs.PublishNotificationJob.do_publish/4
    (oban_pro 1.6.12) lib/oban/pro/worker.ex:1156: Oban.Pro.Worker.process/3
    (oban 2.20.3) lib/oban/queue/executor.ex:145: Oban.Queue.Executor.perform/1
    (oban 2.20.3) lib/oban/queue/executor.ex:77: Oban.Queue.Executor.call/1
    (elixir 1.19.5) lib/task/supervised.ex:105: Task.Supervised.invoke_mfa/2
    (elixir 1.19.5) lib/task/supervised.ex:40: Task.Supervised.reply/4

Attempt 4—8d ago

** (Knock.ApiKeyMissingError)   The api_key setting is required to make requests to Knock.
  Please configure :api_key in config.exs, set the KNOCK_API_KEY
  environment variable, or pass into a new client instance.

    (knock 0.5.0) lib/knock/client.ex:65: Knock.Client.new/1
    (customer_api 1.21.0+cf165045) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
    (customer_api 1.21.0+cf165045) lib/customer_api/jobs/publish_notification_job.ex:93: CustomerApi.Jobs.PublishNotificationJob.do_publish/4
    (oban_pro 1.6.12) lib/oban/pro/worker.ex:1156: Oban.Pro.Worker.process/3
    (oban 2.20.3) lib/oban/queue/executor.ex:145: Oban.Queue.Executor.perform/1
    (oban 2.20.3) lib/oban/queue/executor.ex:77: Oban.Queue.Executor.call/1
    (elixir 1.19.5) lib/task/supervised.ex:105: Task.Supervised.invoke_mfa/2
    (elixir 1.19.5) lib/task/supervised.ex:40: Task.Supervised.reply/4

Attempt 3—8d ago

** (Knock.ApiKeyMissingError)   The api_key setting is required to make requests to Knock.
  Please configure :api_key in config.exs, set the KNOCK_API_KEY
  environment variable, or pass into a new client instance.

    (knock 0.5.0) lib/knock/client.ex:65: Knock.Client.new/1
    (customer_api 1.21.0+cf165045) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
    (customer_api 1.21.0+cf165045) lib/customer_api/jobs/publish_notification_job.ex:93: CustomerApi.Jobs.PublishNotificationJob.do_publish/4
    (oban_pro 1.6.12) lib/oban/pro/worker.ex:1156: Oban.Pro.Worker.process/3
    (oban 2.20.3) lib/oban/queue/executor.ex:145: Oban.Queue.Executor.perform/1
    (oban 2.20.3) lib/oban/queue/executor.ex:77: Oban.Queue.Executor.call/1
    (elixir 1.19.5) lib/task/supervised.ex:105: Task.Supervised.invoke_mfa/2
    (elixir 1.19.5) lib/task/supervised.ex:40: Task.Supervised.reply/4

Attempt 2—8d ago

** (Knock.ApiKeyMissingError)   The api_key setting is required to make requests to Knock.
  Please configure :api_key in config.exs, set the KNOCK_API_KEY
  environment variable, or pass into a new client instance.

    (knock 0.5.0) lib/knock/client.ex:65: Knock.Client.new/1
    (customer_api 1.21.0+cf165045) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
    (customer_api 1.21.0+cf165045) lib/customer_api/jobs/publish_notification_job.ex:93: CustomerApi.Jobs.PublishNotificationJob.do_publish/4
    (oban_pro 1.6.12) lib/oban/pro/worker.ex:1156: Oban.Pro.Worker.process/3
    (oban 2.20.3) lib/oban/queue/executor.ex:145: Oban.Queue.Executor.perform/1
    (oban 2.20.3) lib/oban/queue/executor.ex:77: Oban.Queue.Executor.call/1
    (elixir 1.19.5) lib/task/supervised.ex:105: Task.Supervised.invoke_mfa/2
    (elixir 1.19.5) lib/task/supervised.ex:40: Task.Supervised.reply/4

Attempt 1—8d ago

** (Knock.ApiKeyMissingError)   The api_key setting is required to make requests to Knock.
  Please configure :api_key in config.exs, set the KNOCK_API_KEY
  environment variable, or pass into a new client instance.

    (knock 0.5.0) lib/knock/client.ex:65: Knock.Client.new/1
    (customer_api 1.21.0+cf165045) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
    (customer_api 1.21.0+cf165045) lib/customer_api/jobs/publish_notification_job.ex:93: CustomerApi.Jobs.PublishNotificationJob.do_publish/4
    (oban_pro 1.6.12) lib/oban/pro/worker.ex:1156: Oban.Pro.Worker.process/3
    (oban 2.20.3) lib/oban/queue/executor.ex:145: Oban.Queue.Executor.perform/1
    (oban 2.20.3) lib/oban/queue/executor.ex:77: Oban.Queue.Executor.call/1
    (elixir 1.19.5) lib/task/supervised.ex:105: Task.Supervised.invoke_mfa/2
    (elixir 1.19.5) lib/task/supervised.ex:40: Task.Supervised.reply/4