Undocumented 100 requests/minute limit since Oct 19, 2026: 429 on all endpoints, including `/me` right after login

Đang mở
#606 6 bình luận 0 reaction 0 người được giao Xem trên GitHub

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
44/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
Lĩnh vực
api, backend-api-design

Hướng nghiên cứu

Start by checking the API rate limits documentation linked in the issue and the request handling entry points for the affected endpoints: /me, /users/{id}/tracks, /users/{id}/favorites, and /users/{id}/followings. Compare the documented limits with the reported headers and behavior, then determine whether the 100 requests per minute limit is intentional and how it is applied. Done means the limit and headers are explained and the documentation reflects confirmed behavior.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Summary

Since 2026-10-19, ~11:17 UTC, every API request from our app has been rejected with 429 Too Many Requests once we pass about 100 requests per minute. This includes GET /me called with a freshly issued user token right after the OAuth code exchange, so user logins fail. Our request volume had been stable for months and did not change around that date (no deploy, no new users or subscriptions).

The responses don't match the rate limits documentation. The docs say limits are calculated per client_id, that only plays are limited, that windows are 24 hours, and that a 429 body names the bucket and its reset_time.

What we see
HTTP/1.1 429 Too Many Requests
x-ratelimit-limit: 100
x-ratelimit-remaining: 0
x-ratelimit-reset: 1793186890

{
    "error": "Rate Limit Exceeded"
}
  • Endpoints affected: GET /users/{id}/tracks, GET /users/{id}/favorites, GET /users/{id}/followings and GET /me. It happens with the app's own OAuth token and with end-user tokens alike.
  • x-ratelimit-reset looks like a sliding window of roughly 60 seconds. Under continuous traffic it keeps moving forward: two probes 20 seconds apart both reported a reset about 38 seconds in the future.
  • Rejected requests seem to count against the window too. A client that keeps polling while rate-limited never gets out of it.
  • Our load before the change: about 75 requests per minute on average (an hourly poll of public tracks, likes and followings of about 1,400 artists, 3 requests each). It ran for months without problems; our logs show no 429 at all in the 11 days before the change.
Questions
  1. Is the 100 requests/minute limit intentional and permanent?
  2. What is it counted against: client_id, access token, source IP, or something else?
  3. Is it a fixed or a sliding window, and do rejected requests count toward it?
  4. Can a registered app request a higher limit, and if so, how?
  5. Could the rate limits documentation be updated to describe this limit and the x-ratelimit-* headers?
What we changed on our side (for others hitting this)
  • Background jobs are paced to 70 requests/minute, which leaves headroom for user-facing requests such as logins.
  • After any 429, all background requests pause until x-ratelimit-reset instead of retrying right away.
  • Login retries /me once after the reset before it gives up.

With this in place, requests succeed again. A probe one minute after the deploy got 200 with x-ratelimit-remaining: 35.

We can share our client_id and request timestamps privately if that helps.

Ngôn ngữ chính
JavaScript
Star
262
Fork
52
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

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

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của soundcloud/api

Tất cả issue của soundcloud/api

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.