HumanSignal / HumanSignal/label-studio

Web UI shows error on 206 response

Open
#8,576 7 comments 0 reactions 0 assignees View on GitHub
fix fix planned 🚧
Dominant language
TypeScript
Stars
28.3k
Forks
3.7k
Avg merge
14h
Merged PRs (30d)
15

Description

**Describe the bug**
I've created a task definition for processing audio transcripts. Label studio is getting audio data from a minio S3-compatible data store. My task includes a valid `s3://...` URL. When the web UI attempts to load the content it complains about a 206 response code from Minio. This is [a valid non-error response](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/206?utm_source=mozilla&utm_medium=devtools-netmonitor&utm_campaign=default)

**To Reproduce**
Steps to reproduce the behavior:
1. Deploy minio
2. Upload an audio file
3. Define a labeling interface with the following code:

```



</View>
```

4. Add a Cloud Storage configuration pointing to the minio bucket. Import Method should be "Files"
5. Create a task with the following body:

```
{
audio: "s3://bucket-name/file.m4a",
transcription: "some text that doesn't matter"
}
```

6. Load up the task.

**Expected behavior**
The audio file should load in the UI and be playable.

**Screenshots**
If applicable, add screenshots to help explain your problem.

<img width="1581" height="515" alt="Image" src="https://github.com/user-attachments/assets/d303df72-fd8d-4720-8c4b-aadc144c6613" />

**Environment (please complete the following information):**
- OS: MacOS
- Label Studio Version 1.21.0

**Additional context**
The request made to minio is:
```
GET /label-studio-nidus-audio/ffda05fd-a999-4a1d-b043-0089d3241280-normalized.m4a?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=redact%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20251002T183831Z&X-Amz-Expires=900&X-Amz-SignedHeaders=host&X-Amz-Signature=redact HTTP/3
Host: s3.gleipnir.technology
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:143.0) Gecko/20100101 Firefox/143.0
Accept: audio/webm,audio/ogg,audio/wav,audio/*;q=0.9,application/ogg;q=0.7,video/*;q=0.6,*/*;q=0.5
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate, br, zstd, identity
Origin: https://label-studio.gleipnir.technology
Range: bytes=0-
Connection: keep-alive
Sec-Fetch-Dest: audio
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-site
Priority: u=4
Pragma: no-cache
```

The response is:
```
HTTP/3 206
content-type: audio/mp4
last-modified: Wed, 01 Oct 2025 21:52:04 GMT
x-ratelimit-remaining: 7894
content-length: 194341
x-amz-request-id: 186AC08BDD3E482E
vary: Origin
vary: Accept-Encoding
x-xss-protection: 1; mode=block
x-ratelimit-limit: 7894
via: 1.1 Caddy
server: MinIO
content-range: bytes 0-194340/194341
x-amz-id-2: 984016e0f56f82f44d7d8d3e22b745b1228089ee5b3964baf244195aa0672b7c
x-amz-bucket-region: us-east-1
x-content-type-options: nosniff
access-control-allow-credentials: true
accept-ranges: bytes
access-control-allow-origin: https://label-studio.gleipnir.technology
etag: "829a49e245704da05e85bf19d10367cf"
strict-transport-security: max-age=31536000; includeSubDomains
date: Thu, 02 Oct 2025 18:38:31 GMT
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.