Skip to content

Bug: Valid report&run metadata leads to Report tab being bricked with Server error 500 on evidently server/dashboard #1744

@SebastianScherer88

Description

@SebastianScherer88

Issue

When I attach meta data to Report objects and/or the Report's run method (so the resulting Snapshot inherits the merged metadata), it breaks the dashboard's ability to parse those reports on the server, giving:

Image

This seems to happen whenever i use non-string type values in the metadata that are officially supported as per here, i.e. this will not work:

metadata={'invalid-list':['test'],'invalid-dict':{'test-key':'test-value'}}

This works

metadata={'valid-string':'test'}

Oddly, this issue does NOT apply to datasets. The dashboard/server CAN resolve dict and list type values in dataset metadata and displays those correctly (if somewhat oddly with additional indices for each list entry):

Image

System

Python 3.10.18
Evidently (client & server): 0.7.16

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions