TikTok Army
Agent fleet · Studio-powered
Workflow
OverviewNew briefWorkflowsApprovals
Operations
Agent catalogAgent runsRun indexAlerts
Domain
PostsBrandsCompetitors
Knowledge
User guideBuilder docsSkills
System
Settings
Read-only.
Writes route through agents → spend cap → compliance.
envproduction
read-only · writes route through agents
Updated just now
← trend_watcher

Run f1874a91…

f1874a91-ec38-4745-951b-5221ac748c91

failed
Agent
trend_watcher
Trigger
manual
Latency
15606ms
Cost
—
Model
—
Brand
00000000…
Started
2026-04-28 04:58:07
Completed
2026-04-28 04:58:22

Error

NotFound: 404 Resource not found (resource=tiktok.trend.scored).

Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/google/api_core/grpc_helpers.py", line 55, in error_remapped_callable
    return callable_(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/grpc/_interceptor.py", line 276, in __call__
    response, ignored_call = self._with_call(
                             ^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/grpc/_interceptor.py", line 331, in _with_call
    return call.result(), call
           ^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/grpc/_channel.py", line 438, in result
    raise self
  File "/usr/local/lib/python3.12/site-packages/grpc/_interceptor.py", line 314, in continuation
    response, call = self._thunk(new_method).with_call(
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/grpc/_channel.py", line 1173, in with_call
    return _end_unary_response_blocking(state, call, True, None)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/grpc/_channel.py", line 990, in _end_unary_response_blocking
    raise _InactiveRpcError(state)  # pytype: disable=not-instantiable
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
	status = StatusCode.NOT_FOUND
	details = "Resource not found (resource=tiktok.trend.scored)."
	debug_error_string = "UNKNOWN:Error received from peer ipv4:64.233.179.95:443 {grpc_message:"Resource not found (resource=tiktok.trend.scored).", grpc_status:5}"
>

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/app/tiktok_army/agents/base.py", line 131, in run
    result = await self._execute(ctx)
             ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/tiktok_army/agents/trend_watcher.py", line 358, in _execute
    await self._emit_scored_events(
  File "/app/tiktok_army/agents/trend_watcher.py", line 801, in _emit_scored_events
    await publish_event(
  File "/app/tiktok_army/lib/audit.py", line 136, in publish_event
    return future.result(timeout=5.0)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/google/cloud/pubsub_v1/publisher/futures.py", line 66, in result
    return super().result(timeout=timeout)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/concurrent/futures/_base.py", line 456, in result
    return self.__get_result()
           ^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/concurrent/futures/_base.py", line 401, in __get_result
    raise self._exception
  File "/usr/local/lib/python3.12/site-packages/google/cloud/pubsub_v1/publisher/_batch/thread.py", line 321, in _commit
    response = self._client._gapic_publish(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/google/cloud/pubsub_v1/publisher/client.py", line 296, in _gapic_publish
    return super().publish(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/google/pubsub_v1/services/publisher/client.py", line 1169, in publish
    response = rpc(
               ^^^^
  File "/usr/local/lib/python3.12/site-packages/google/api_core/gapic_v1/method.py", line 128, in __call__
    return wrapped_func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/google/api_core/retry/retry_unary.py", line 294, in retry_wrapped_func
    return retry_target(
           ^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/google/api_core/retry/retry_unary.py", line 156, in retry_target
    next_sleep = _retry_error_helper(
                 ^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/google/api_core/retry/retry_base.py", line 216, in _retry_error_helper
    raise final_exc from source_exc
  File "/usr/local/lib/python3.12/site-packages/google/api_core/retry/retry_unary.py", line 147, in retry_target
    result = target()
             ^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/google/api_core/timeout.py", line 170, in func_with_timeout
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/google/api_core/grpc_helpers.py", line 57, in error_remapped_callable
    raise exceptions.from_grpc_error(exc) from exc
google.api_core.exceptions.NotFound: 404 Resource not found (resource=tiktok.trend.scored).
Input11 lines
{
  "notes": "v2 brands seeded",
  "handle": "cleanbeauty",
  "region": "US",
  "outcome": "profile_audit",
  "brand_id": "00000000-0000-0000-0000-000000000001",
  "target_type": "third_party",
  "compliance_scope": "recent_7d",
  "tiktok_account_id": "3478a0fc-ad04-4f8d-9f00-c06b9e4477cb",
  "compliance_subject_type": "post_published"
}
Output1 lines
(none)

Started 4d ago · completed 4d ago