Skip to content

fix(shadcn): api-token-route missing room_config#1318

Merged
thomasyuill-livekit merged 2 commits intomainfrom
ty/fix-shadcn-api-token-route
Apr 11, 2026
Merged

fix(shadcn): api-token-route missing room_config#1318
thomasyuill-livekit merged 2 commits intomainfrom
ty/fix-shadcn-api-token-route

Conversation

@thomasyuill-livekit
Copy link
Copy Markdown
Contributor

@thomasyuill-livekit thomasyuill-livekit commented Apr 11, 2026

Issue

Related to livekit-examples/agent-starter-react#331

POST /api/token 500 in 341ms
Error: cannot decode message livekit.RoomConfiguration from JSON: undefined
    at POST (app/api/token/route.ts:41:42)

Solution

This is happens as the result of an empty room_config when AGENT_NAME is blank

@thomasyuill-livekit thomasyuill-livekit self-assigned this Apr 11, 2026
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Apr 11, 2026

⚠️ No Changeset found

Latest commit: 284bede

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 11, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
components-js-storybook-5kld Ready Ready Preview, Comment Apr 11, 2026 1:26am

Request Review

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 11, 2026

size-limit report 📦

Path Size
LiveKitRoom only 6.01 KB (0%)
LiveKitRoom with VideoConference 32.24 KB (0%)
All exports 43.07 KB (0%)

Copy link
Copy Markdown
Member

@davidzhao davidzhao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@thomasyuill-livekit thomasyuill-livekit merged commit 9febc51 into main Apr 11, 2026
8 checks passed
@thomasyuill-livekit thomasyuill-livekit deleted the ty/fix-shadcn-api-token-route branch April 11, 2026 18:34
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.

2 participants