We found the root cause. The `/settings/regions` e...
# agents
b
We found the root cause. The
/settings/regions
endpoint at
bg-interviews-2-jru6e6g5.livekit.cloud
returns HTTP 200 with body "unauthorized" instead of either: • HTTP 200 with valid JSON region data (for authenticated requests), or • HTTP 401 (for unauthenticated requests) The SDK (
RegionUrlProvider.ts
) checks
response.ok
, sees
true
(200), then calls
response.json()
on the "unauthorized" string, which throws a JSON parse error. This gets wrapped as
ConnectionError.serverUnreachable
. We confirmed: •
curl <https://bg-interviews-2-jru6e6g5.livekit.cloud/settings/regions>
→ HTTP 200, body: "unauthorized" • Worker registration succeeds (API key/secret are valid) • This appears to be a server-side configuration issue with this project's regions endpoint Can you check why this project's
/settings/regions
is returning "unauthorized" for authenticated SDK requests?
✅ 1
t
Hi Ameh Oche, ⚠️ This channel will be deleted soon ⚠️ Please use our new community at https://community.livekit.io for technical discussions and to post technical questions. The Slack community is not going away, but we are migrating technical questions to our new forum. Please see full details here.