> ## Documentation Index
> Fetch the complete documentation index at: https://docs.braintrust.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Dashboard logs missing due to span name schema error

> [!NOTE]
>
> **Applies to:**
>
> * Plan - Any
> * Deployment - Braintrust-hosted, Self-hosted
> *
> * Use case - Logging spans with invalid data types in the \`name\` field

## 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.

```text theme={"theme":{"light":"github-light","dark":"github-dark-dimmed"}}
# 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.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.