---
title: SDKs: one error type for network failures, ids kept inside their path
description: If the connection failed (DNS, a refused or reset connection, TLS), the SDKs threw the runtime's own error, so a catch for WatchForError missed it; and an id…
canonical: https://watchfor.io/changelog/2026-11-25-sdk-network-errors-and-ids
---

[All updates](/changelog#2026-11-25-sdk-network-errors-and-ids) ⚡ Improved API Nov 25, 2026 · v 14.6.2

# SDKs: one error type for network failures, ids kept inside their path

If the connection failed (DNS, a refused or reset connection, TLS), the SDKs threw the runtime's own error, so a catch for WatchForError missed it; and an id went into the URL as given, so one holding "/" or ".." could reach another endpoint. The npm, Python and Ruby SDKs now raise their own error with status 0 and code network_error or timeout, encode every id as one path segment and refuse an empty, "." or ".." id before sending. TypeScript request bodies are typed from the OpenAPI spec. In the SDKs since 0.27.0.

Share this update

---

Canonical page: https://watchfor.io/changelog/2026-11-25-sdk-network-errors-and-ids · Site guide: https://watchfor.io/llms.txt
