Got arror from pin [PinoCloudExporter] Failed to f...
# ask-ai
q
Got arror from pin [PinoCloudExporter] Failed to flush logs: Error: Log export failed: 401 Unauthorized - +project data recording is disabled by owner+
t
Thanks for reaching out, Heorhi. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
You're seeing the PinoCloudExporter 401 Unauthorized because project-level data recording (Agent observability) is turned off. To fix this: 1. Open your project in the LiveKit Cloud dashboard. 2. Go to Settings -> Data and privacy. 3. Enable Agent observability (project data recording). Note: For Ship/Scale/Enterprise plans agent observability is disabled by default, and session-level recording cannot override the project setting. After enabling it, retry the log export. If you still get a 401, confirm your export credentials and destination configuration and tell me the exact error text — I’ll help troubleshoot further. Sources: Agent insights in LiveKit Cloud | LiveKit docs
q
How to hide this error?
t
Are you trying to hide the error from your application logs, from user-visible UI, or stop the exporter from attempting exports entirely? Which environment/library is producing the message (Node app using pino + PinoCloudExporter, browser console, or something else)? Options I can help with once you confirm: • Suppress the message in your logs by removing/disabling the PinoCloudExporter (show config example for Node). • Filter or ignore that specific error in your logger (pino hook or log level/filter). • Prevent the exporter from attempting exports by enabling Agent observability (project-level) so the error no longer occurs. Tell me which option you prefer and share the relevant snippet of how you initialize the exporter (or your environment), and I’ll give the exact code/config to use.
q
I got this error from this stack: at PinoCloudExporter.sendLogs (file:///opt/render/project/src/node_modules/@livekit/agents/dist/telemetry/pino_otel_transport.js14713) at process.processTicksAndRejections (nodeinternal/process/task queues105:5) at async PinoCloudExporter.flush (file:///opt/render/project/src/node_modules/@livekit/agents/dist/telemetry/pino_otel_transport.js1037) at async flushPinoLogs (file:///opt/render/project/src/node_modules/@livekit/agents/dist/telemetry/pino_otel_transport.js1795) at async flushOtelLogs (file:///opt/render/project/src/node_modules/@livekit/agents/dist/telemetry/traces.js1763) at async JobContext._onSessionEnd (file:///opt/render/project/src/node_modules/@livekit/agents/dist/job.js2027) at async <file:///opt/render/project/src/node_modules/@livekit/agents/dist/ipc/job_proc_lazy_main.js955>
t
You're getting that 401 from PinoCloudExporter because the agent is trying to send telemetry but project-level data recording (Agent observability) is disabled. You can either fix the root cause or suppress the error. Which of the two do you want? Quick options: • Enable recording (stops exporter attempts): a. Open LiveKit Cloud → Project Settings → Data and privacy. b. Enable Agent observability. After this the exporter will be authorized and the 401 will stop. • Suppress the error without enabling recording: a. Prevent telemetry from being sent by disabling recording in the agent session: • Set
record: false
when starting the session so the agent does not attempt uploads. a. Stop/remove the
PinoCloudExporter
from your Pino setup (don’t attach the transport). b. Filter the specific exporter error in your logger/transport (custom Pino transport or a log filter) so the 401 message is ignored. Tell me which option you prefer and paste the code where you initialize the agent or Pino exporter and I’ll give the exact code/config changes. Sources: Agent insights in LiveKit Cloud | LiveKit docs