POST /tracks returns 400 "uid has already been taken" but still creates the track (since 2026-10-15)
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 38/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- javascript
Hướng nghiên cứu
The report describes a regression in POST /tracks: uploads return 400 with “uid has already been taken” even though tracks are created. Start by comparing the behavior before and after 2026-10-15 and reviewing the related issue #600. Done means the API returns 201 with the created track, or documents a supported way to retrieve its URN.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Since 2026-10-15, every track upload from our app via POST https://api.soundcloud.com/tracks returns HTTP 400 with the body below, but the track is created and finishes processing. The same request returned 201 with the track until 2026-10-14. Nothing changed on our side (same build, same OAuth app, same request shape).
This looks like the same incident mentioned in #600 (comment by @Lorenzo-Biondi). Opening separately because #600 is about PUT /tracks/{urn} returning 500.
Request (Authorization: OAuth <access token of the account owner>, multipart/form-data):
| Field | Value |
|---|---|
track[asset_data] |
MP3, ~4–5 MB |
track[title] |
e.g. Listen to the article: What is a forward-deployed engineer? |
track[sharing] |
public |
Response:
HTTP 400 Bad Request
{"code":400,"message":"uid has already been taken","link":"https://developers.soundcloud.com/docs/api/explorer/open-api","status":"400 - Bad Request","errors":[{"error_message":"uid has already been taken"}],"error":null}
Timeline (UTC):
| Window | Result |
|---|---|
| 2026-10-09 → 2026-10-14 15:17 | 9 uploads, all 201 with the track |
| 2026-10-15 19:41 → now | every upload 400 uid has already been taken (one 500 at 2026-10-15 19:44:45) |
The OAuth token refresh (POST https://secure.soundcloud.com/oauth/token) keeps returning 200 throughout, and updates via PUT /tracks/{urn} were working until 2026-10-14.
Tracks created despite the 400 (account soundcloud.com/mckinsey; each URN maps to one "failed" request at the listed time):
| Request time (UTC) | Track created |
|---|---|
| 2026-10-16 19:20:30 | soundcloud:tracks:2420541609 |
| 2026-10-16 19:21:45 | soundcloud:tracks:2420541999 |
| 2026-10-16 19:23:53 | soundcloud:tracks:2420542809 |
Impact: because the response is an error, the client cannot learn the new track's URN, and any retry creates another public duplicate.
Expected: 201 with the created track, as before 2026-10-15.
Questions:
- Is this a known incident, and is there an ETA?
- Until it is fixed, is there a supported way to get the URN of the track created by a request that returned this 400?
Client ID and further request timestamps available on request.
- Ngôn ngữ chính
- JavaScript
- Star
- 260
- Fork
- 52
- Merge trung bình
- 1 phút
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của soundcloud/api
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 15/100
soundcloud/api#600 · 4 bình luận ·
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
soundcloud/api#597 · 1 reaction ·
-
enhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 40/100
soundcloud/api#596 · 2 bình luận · 1 reaction ·
-
question
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
soundcloud/api#595 · 4 bình luận ·
-
documentation
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
soundcloud/api#583 · 1 bình luận · 1 reaction ·
Tất cả issue của soundcloud/api
Issue tương tự
-
type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 66/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Update to mocha 12.xĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
rescript-lang/rescript#8996 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add: Ministerstvoidey.ruĐang mởcheck:passed logos:add
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100