Skip to content

RealtimeKit Add Participant API #2737

@jjalonso

Description

@jjalonso

Confirm this is a TypeScript library issue and not an underlying Cloudflare API issue

  • This is an issue with the TypeScript library

Describe the bug

Maybe this is not the place to report, but as a user i already got tired trying to find a way of report you guys the error, everything drive me to the community forum and there nobody reply, discord doesn't have no channel for bugs, then i leave it here you guys can sort it out.

API Endpoint: POST /accounts/{account_id}/realtime/kit/{app_id}/meetings/{meeting_id}/participants

Issue: The name field is documented as optional (nullable: true, not in the required array). However, when name is omitted from the request, the participant token returned by the API causes error 0002 ("Failed to join room. could not connect to media servers") when the client SDK attempts to connect to the media server. When name is provided (even as an empty string or placeholder), the connection succeeds.

Category: Bug — Server-side (RealtimeKit media server)

To Reproduce

Call the Add Participant API without the name field
Use the returned token to join a meeting via the client SDK
Observe error 0002 / "Failed to join room"
Expected behavior: The media server should accept connections from participants without a name, since the REST API documents it as optional.

Workaround: Always pass a name value (e.g. "Anonymous") when adding a participant.

Code snippets

OS

macOS

Runtime version

REST API

Library version

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions