Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Beta branch Node-Agent-Live example error "Text message received from client did not match any of the formats we expect." #354

Open
allanjsx opened this issue Jan 11, 2025 · 0 comments

Comments

@allanjsx
Copy link

allanjsx commented Jan 11, 2025

What is the current behavior?

In the beta branch the Node-Agent-Live example, when running this example, receiving the below error:
Text message received from client did not match any of the formats we expect.

Steps to reproduce

  1. Clone the JS SDK, checkout beta branch
  2. Perform local install and build, for example: npm install and npm run build
  3. Run /examples/node-agent-live with your secret key
  4. See error message: Text message received from client did not match any of the formats we expect.

Expected behavior

Should run without any error

Please tell us about your environment

  • Operating System/Version: MacOS
  • Language: NodeJS (v18.18.2)

Other information

I suspect it's due to misalignment of server/client API contract. It would be nice to add more details to the error message, such as which field is missing or not expected.

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

No branches or pull requests

1 participant