Skip to content

fix: handle fetch target unreachable errors - #84

Merged
Turanic merged 1 commit into
mainfrom
cursor/platform-sdk-sync-20260723-fetch-target-unreachable
Jul 29, 2026
Merged

Turanic merged 1 commit into
mainfrom
cursor/platform-sdk-sync-20260723-fetch-target-unreachable

Conversation

@Shedna

@Shedna Shedna commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Description

The public /v1/fetch API surface now reports a dedicated FETCH_TARGET_UNREACHABLE 400 error code when Linkup cannot reach the target URL.

This PR synchronizes the Python SDK by:

  • adding LinkupFetchTargetUnreachableError and its public alias export,
  • mapping FETCH_TARGET_UNREACHABLE to that error in the client,
  • documenting the raised exception in the fetch client docstrings,
  • covering the new contract in the fetch error tests.

Checklist

  • I have installed prek on this project (for instance with the make install-dev command) before creating any commit, or I have run successfully the make lint command on my changes.
  • I have run successfully the make typecheck test command on my changes.
  • I have updated the README.md if my changes affected it.

Co-authored-by: william <william@linkup.so>
@Turanic
Turanic merged commit 5f4ed40 into main Jul 29, 2026
3 checks passed
@Turanic
Turanic deleted the cursor/platform-sdk-sync-20260723-fetch-target-unreachable branch July 29, 2026 10:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants