MastraM
Mastra3mo ago
Ferreo

Langfuse tracing not working

I'm getting errors from the langfuse SDK when trying to enable the langfuse tracing:

[Langfuse SDK] Unknown error: SyntaxError: Failed to parse JSON
at json (null)
at processTicksAndRejections (null)

Just this over and over every time it tries to trace. Any ideas? I have followed https://mastra.ai/en/docs/observability/ai-tracing/exporters/langfuse ofc.
Send AI traces to Langfuse for LLM observability and analytics
Was this page helpful?