Skip to main content
Applies to:


Summary

Issue: Dashboard logs appear missing or incomplete when viewing spans in the Braintrust UI accompanied by the following error: Internal error: 'Schema error: 'Expected 1 column for path span_attributes_jsononame, but received more.' Cause: Invalid data types (such as JSON objects) are being passed to the name field of spans, which causes schema validation failures that silently hide affected logs from the dashboard view. Resolution: Append additional valid logs to trigger a view refresh, and ensure span names are always strings.

Resolution Steps

Immediate Workaround

Step 1: Append new valid logs

Log additional spans to the same project to trigger a dashboard view refresh and display previously hidden logs.

Permanent Fix

Step 1: Validate span name data types

Ensure all span name fields are strings, not objects or other data types.
# Correct
braintrust.log(name="my-span-name", ...)

# Incorrect - will cause logs to be hidden
braintrust.log(name={"key": "value"}, ...)

Step 2: Check existing logging code

Review your codebase for any instances where non-string values are passed to the name parameter.