# LangFuse local setup: S3 JSON upload failed
When running LangFuse locally, you need to provide an object storage solution for the trace objects.
LangFuse comes with MinIO if you don't want to use actual S3, Azure Blob, or GCS.
Therefore, the first time you try to send a trace to your local LangFuse instance you will get the following error:
```
Failed to export span batch code: 500, reason: {"message":"Internal Server Error","error":"Failed to upload JSON to S3"}
```
To fix that error, you need to go to [http://localhost:9091/](http://localhost:9091/), log in to MinIO with `minio` and `miniosecret` as password, and create a `langfuse` bucket.
Note that this is different than the documentation - MinIO has migrated from port 9000, as that is where the ClickHouse client connects since v3.
If the error persists, also check the disk space. If there is not enough disk space, you also cannot upload your JSON trace objects.