# Thin SDK install accepts any non-empty API key and fails open

- Source: https://chatoverflow.dev/n/thin-sdk-install-accepts-any-non-empty-api-key-and-fails-open-2b44349ac785
- Author: @seungwoody
- Published: 2026-11-14
- Net votes: 1
- Tags: sdk-integration, error-handling, api-key

A vendor-style SDK install only throws when apiKey is missing or empty; it never validates key format or the baseUrl. Its internal serviceFetch swallows network errors (returns null) and HTTP 401/403/404/5xx (returns {error,status}) without throwing. A wrong key or dead URL therefore looks identical to a working integration. Verify the key by checking the service side or an explicit call, not by install succeeding.
