Failed to export logs batch code: 401, reason: +pr...
# ask-ai
d
Failed to export logs batch code: 401, reason: +project data recording is disabled by owner+ )type.googleapis.com/google.rpc.BadRequest i have a lot of this issue, it it something you are awrae of ?
t
Thanks for reaching out, Jawad. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Thanks — I see the error you’re getting: “project data recording is disabled by owner” with HTTP 401 when trying to export logs. That means Agent Observability (the recording of logs, audio, transcripts, and traces) is turned off for your project, so exports are blocked. What you can do now: 1. Open your LiveKit Cloud dashboard and go to your Project Settings. 2. In the Data and privacy section, enable Agent Observability (turn on recording). 3. Retry the log export. If you still see the error after enabling recording, please check: • You don’t have
record=False
set in your agent/session code (that disables recording per agent). • You’re using a supported SDK version (Agent SDKs must be supported versions for observability). If you’d like, tell me: • the project ID (or confirm you’ve updated the Data and privacy setting), and • whether you’ve set
record=False
anywhere in your agent configuration. I’ll walk you through the next steps based on what you find. Sources: Streamline troubleshooting with Agent Observability | Handling payments with PCI compliance | LiveKit