Skip to content

fix(bluesky-api): post likes and reposts fail for handle inputs #2659

Open

Description

@coygeek

Summary

The public FxBluesky API returns HTTP 500 for the documented handle form of the post-likes and post-reposts endpoints. Substituting the same post author's DID returns HTTP 200 with two user results on both endpoints. Clients following ordinary Bluesky post URLs cannot retrieve these lists using the handle directly.

Runtime or environment

The public service reported x-powered-by: fixtweet-main-4aae23e-2026-10-28T22:36:04. A fresh read of the default branch found main at 4aae23e3162b9ae16b74522c9df055e16b1fecef; GitHub listed no releases or tags. The runtime OpenAPI spec identifies itself as FxBluesky API 2.0.0. The production runtime and private service configuration were not inspected. Requests used User-Agent: FxEmbedIssueVerification/1.0, no authentication, and a 30-second request limit.

Steps to reproduce

Run these read-only requests against the public service:

curl --max-time 30 -i -A 'FxEmbedIssueVerification/1.0' 'https://api.fxbsky.app/2/status/bsky.app/3l6oveex3ii2l/likes?count=2'
curl --max-time 30 -i -A 'FxEmbedIssueVerification/1.0' 'https://api.fxbsky.app/2/status/bsky.app/3l6oveex3ii2l/reposts?count=2'

For the discriminating control, repeat both requests replacing bsky.app with did:plc:z72i7hdynmk6r22z27h6tvur. This is the public author's DID from the same post's at_uri, returned by GET /2/status/bsky.app/3l6oveex3ii2l.

Expected behavior

The documented handle and DID forms identify the same post and both return successful user-list pages. The current route descriptions explicitly permit either a handle or a DID, and count=2 is within the supported range.

Actual behavior

Both handle requests returned HTTP 500 with exactly this JSON:

{"code":500,"results":[],"cursor":{"top":null,"bottom":null}}

Both DID controls returned HTTP 200, code: 200, and two user results. The post-detail control returned HTTP 200 with the requested post ID and nonzero like and repost counts. This fresh bounded sample made one request per variant; earlier saved observations also show the two handle requests failing on the same reported service build. The checks establish an input-dependent service failure, not its production root cause.

Evidence

  • Expected source: The runtime OpenAPI specification documents /2/status/{handle}/{rkey}/likes and /reposts as accepting handles or DIDs, with HTTP 200 user-list responses.
  • Failure source: The executed requests and exact failure JSON in Steps to reproduce and Actual behavior, compared with the successful DID and post-detail controls.
  • Evidence provenance: observed
  • Local verification: reproduced
  • Reproduction completeness: complete

The http results and control outcomes were captured directly. earlier saved observations are corroborating supplied evidence only. Verification was performed against the public service; no locally deployed worker or mocked test result is presented as production proof.

The route definitions preserve the handle-or-DID contract. The providers pass an AT URI built directly from the supplied repo segment to fetchGetLikes and fetchRepostedBy in packages/atmosphere/src/providers/bluesky/statusLikes.ts, statusReposts.ts, and uris.ts. Direct unauthenticated calls to the default public AppView also returned 500 for the handle AT URI and 200 for its DID equivalent; this corroborates the boundary without establishing the production backend or prescribing a fix.

Restoration check

Repeat both handle requests and both DID controls for this same live post. All four should return HTTP 200 with the same user-list envelope and valid user rows, subject to normal changes in live list contents. Keep the post-detail control successful so a missing post cannot disguise the result. Resolving the DID manually is a verified client workaround, but does not restore the documented handle form.

Triage assessment

  • Impact level: P2
  • Assessment status: supported
  • Impact basis: The documented handle input fails for both post-relation lists on the tested public post, preventing clients using that input from retrieving either list; the sample does not establish all-post or all-user reach.
  • Workaround status: available
  • Workaround basis: Reading the same post's public at_uri and using its DID returned two users successfully on each relation endpoint in the executed controls.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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