Skip to content

API returning HTTP 500 across multiple endpoints (/trends/repos, /repos/{owner}/{repo}) #3088

Description

@FenjuFu

The public API at api.ossinsight.io is returning HTTP 500 across multiple endpoints, while the frontend at ossinsight.io still loads (200). As a result, trending data on the site renders empty.

First observed 2026-06-30 ~01:50 UTC and still failing at ~04:10 UTC (persisted 2+ hours), so this looks like a backend issue rather than a transient spike.

Reproduction:

GET /v1/trends/repos/?period=past_24_hours  -> 500  {"message":"Request failed with status code 400"}
GET /v1/trends/repos/?period=past_week       -> 500  {"message":"Request failed with status code 400"}
GET /v1/trends/repos/?period=past_month      -> 500  {"message":"Request failed with status code 400"}
GET /v1/repos/{owner}/{repo}/                -> 500  (wrapping upstream 400/404; earlier saw 429 on /trends)

The 500 responses wrap an upstream 400/429/404, which points to a backend query-service or rate-limit issue rather than routing. Possibly related to #3084.

Frontend host responds 200; only the data API is affected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions