a bunch of my assets are failing to materialize wi...
# dagster-plus
r
a bunch of my assets are failing to materialize with this error:
Copy code
dagster_cloud_cli.core.errors.DagsterCloudHTTPError: 413 Client Error: Request Entity Too Large for url: <https://dagster.agent.dagster.cloud/graphql>:
can't find much from googling or searching slack
full stack trace
a
I am guessing you are attempting to attach some quite large metadata to your asset
r
Copy code
return Output(
        s3_uri,
        metadata={
            "s3_uri": s3_uri,
            "s3_bucket": s3_bucket,
            "s3_key": s3_key,
            "num_rows": len(df),
            "preview": MetadataValue.md(df.head().to_markdown()),
            "min_sent_at": df['sent_at'].min().strftime("%Y-%m-%d %H:%M:%S") if len(df) > 0 else None,
            "max_sent_at": df['sent_at'].max().strftime("%Y-%m-%d %H:%M:%S") if len(df) > 0 else None,
        }
    )
i wonder if it's the
preview
the items are big, so i wonder if even that
<http://df.head.to|df.head.to>_markdown
is too big
i guess i can try removing it
working well now, thank you Alex!
dagsir 1