You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- [x ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
Minimal steps to reproduce
open Chat after addding endpoints fails with errors:
@Kaquesad ➜ /workspaces/contoso-web (main) $ npm run dev
✓ Ready in 1973ms
○ Compiling / ...
✓ Compiled / in 2.6s (900 modules)
✓ Compiled in 494ms (436 modules)
✓ Compiled /api/chat/promptflow in 377ms (468 modules)
⨯ TypeError: Cannot read properties of undefined (reading 'toString')
at /workspaces/contoso-web/node_modules/next/dist/compiled/next-server/app-route.runtime.dev.js:6:58658
at /workspaces/contoso-web/node_modules/next/dist/server/lib/trace/tracer.js:133:36
at NoopContextManager.with (/workspaces/contoso-web/node_modules/next/dist/compiled/@opentelemetry/api/index.js:1:7062)
at ContextAPI.with (/workspaces/contoso-web/node_modules/next/dist/compiled/@opentelemetry/api/index.js:1:518)
at NoopTracer.startActiveSpan (/workspaces/contoso-web/node_modules/next/dist/compiled/@opentelemetry/api/index.js:1:18093)
at ProxyTracer.startActiveSpan (/workspaces/contoso-web/node_modules/next/dist/compiled/@opentelemetry/api/index.js:1:18854)
at /workspaces/contoso-web/node_modules/next/dist/server/lib/trace/tracer.js:122:103
at NoopContextManager.with (/workspaces/contoso-web/node_modules/next/dist/compiled/@opentelemetry/api/index.js:1:7062)
at ContextAPI.with (/workspaces/contoso-web/node_modules/next/dist/compiled/@opentelemetry/api/index.js:1:518)
at NextTracerImpl.trace (/workspaces/contoso-web/node_modules/next/dist/server/lib/trace/tracer.js:122:28)
at globalThis.fetch (/workspaces/contoso-web/node_modules/next/dist/compiled/next-server/app-route.runtime.dev.js:6:57593)
at POST (webpack-internal:///(rsc)/./src/app/api/chat/promptflow/route.ts:13:28)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async /workspaces/contoso-web/node_modules/next/dist/compiled/next-server/app-route.runtime.dev.js:6:63809
at async eU.execute (/workspaces/contoso-web/node_modules/next/dist/compiled/next-server/app-route.runtime.dev.js:6:53964)
at async eU.handle (/workspaces/contoso-web/node_modules/next/dist/compiled/next-server/app-route.runtime.dev.js:6:65062)
at async doRender (/workspaces/contoso-web/node_modules/next/dist/server/base-server.js:1317:42)
at async cacheEntry.responseCache.get.routeKind (/workspaces/contoso-web/node_modules/next/dist/server/base-server.js:1539:28)
at async DevServer.renderToResponseWithComponentsImpl (/workspaces/contoso-web/node_modules/next/dist/server/base-server.js:1447:28)
at async DevServer.renderPageComponent (/workspaces/contoso-web/node_modules/next/dist/server/base-server.js:1844:24)
at async DevServer.renderToResponseImpl (/workspaces/contoso-web/node_modules/next/dist/server/base-server.js:1882:32)
at async DevServer.pipeImpl (/workspaces/contoso-web/node_modules/next/dist/server/base-server.js:895:25)
at async NextNodeServer.handleCatchallRenderRequest (/workspaces/contoso-web/node_modules/next/dist/server/next-server.js:269:17)
at async DevServer.handleRequestImpl (/workspaces/contoso-web/node_modules/next/dist/server/base-server.js:791:17)
at async /workspaces/contoso-web/node_modules/next/dist/server/dev/next-dev-server.js:331:20
at async Span.traceAsyncFn (/workspaces/contoso-web/node_modules/next/dist/trace/trace.js:151:20)
at async DevServer.handleRequest (/workspaces/contoso-web/node_modules/next/dist/server/dev/next-dev-server.js:328:24)
at async invokeRender (/workspaces/contoso-web/node_modules/next/dist/server/lib/router-server.js:174:21)
at async handleRequest (/workspaces/contoso-web/node_modules/next/dist/server/lib/router-server.js:353:24)
at async requestHandlerImpl (/workspaces/contoso-web/node_modules/next/dist/server/lib/router-server.js:377:13)
at async Server.requestListener (/workspaces/contoso-web/node_modules/next/dist/server/lib/start-server.js:140:13)
Expected/desired behavior
for chatbot to answer and connnect properly to contoso chat environment.
OS and Version?
Windows 11
Versions
22631.3296
Mention any other details that might be useful
I have added all the required endpoints and keys to the documentation in the codespace .env file saved it re ran it updated the .Next module to the latest version same error.
Thanks! We'll be in touch soon.
The text was updated successfully, but these errors were encountered:
This issue is for a: (mark with an
x
)Minimal steps to reproduce
@Kaquesad ➜ /workspaces/contoso-web (main) $ npm run dev
▲ Next.js 14.1.4
✓ Ready in 1973ms
○ Compiling / ...
✓ Compiled / in 2.6s (900 modules)
✓ Compiled in 494ms (436 modules)
✓ Compiled /api/chat/promptflow in 377ms (468 modules)
⨯ TypeError: Cannot read properties of undefined (reading 'toString')
at /workspaces/contoso-web/node_modules/next/dist/compiled/next-server/app-route.runtime.dev.js:6:58658
at /workspaces/contoso-web/node_modules/next/dist/server/lib/trace/tracer.js:133:36
at NoopContextManager.with (/workspaces/contoso-web/node_modules/next/dist/compiled/@opentelemetry/api/index.js:1:7062)
at ContextAPI.with (/workspaces/contoso-web/node_modules/next/dist/compiled/@opentelemetry/api/index.js:1:518)
at NoopTracer.startActiveSpan (/workspaces/contoso-web/node_modules/next/dist/compiled/@opentelemetry/api/index.js:1:18093)
at ProxyTracer.startActiveSpan (/workspaces/contoso-web/node_modules/next/dist/compiled/@opentelemetry/api/index.js:1:18854)
at /workspaces/contoso-web/node_modules/next/dist/server/lib/trace/tracer.js:122:103
at NoopContextManager.with (/workspaces/contoso-web/node_modules/next/dist/compiled/@opentelemetry/api/index.js:1:7062)
at ContextAPI.with (/workspaces/contoso-web/node_modules/next/dist/compiled/@opentelemetry/api/index.js:1:518)
at NextTracerImpl.trace (/workspaces/contoso-web/node_modules/next/dist/server/lib/trace/tracer.js:122:28)
at globalThis.fetch (/workspaces/contoso-web/node_modules/next/dist/compiled/next-server/app-route.runtime.dev.js:6:57593)
at POST (webpack-internal:///(rsc)/./src/app/api/chat/promptflow/route.ts:13:28)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async /workspaces/contoso-web/node_modules/next/dist/compiled/next-server/app-route.runtime.dev.js:6:63809
at async eU.execute (/workspaces/contoso-web/node_modules/next/dist/compiled/next-server/app-route.runtime.dev.js:6:53964)
at async eU.handle (/workspaces/contoso-web/node_modules/next/dist/compiled/next-server/app-route.runtime.dev.js:6:65062)
at async doRender (/workspaces/contoso-web/node_modules/next/dist/server/base-server.js:1317:42)
at async cacheEntry.responseCache.get.routeKind (/workspaces/contoso-web/node_modules/next/dist/server/base-server.js:1539:28)
at async DevServer.renderToResponseWithComponentsImpl (/workspaces/contoso-web/node_modules/next/dist/server/base-server.js:1447:28)
at async DevServer.renderPageComponent (/workspaces/contoso-web/node_modules/next/dist/server/base-server.js:1844:24)
at async DevServer.renderToResponseImpl (/workspaces/contoso-web/node_modules/next/dist/server/base-server.js:1882:32)
at async DevServer.pipeImpl (/workspaces/contoso-web/node_modules/next/dist/server/base-server.js:895:25)
at async NextNodeServer.handleCatchallRenderRequest (/workspaces/contoso-web/node_modules/next/dist/server/next-server.js:269:17)
at async DevServer.handleRequestImpl (/workspaces/contoso-web/node_modules/next/dist/server/base-server.js:791:17)
at async /workspaces/contoso-web/node_modules/next/dist/server/dev/next-dev-server.js:331:20
at async Span.traceAsyncFn (/workspaces/contoso-web/node_modules/next/dist/trace/trace.js:151:20)
at async DevServer.handleRequest (/workspaces/contoso-web/node_modules/next/dist/server/dev/next-dev-server.js:328:24)
at async invokeRender (/workspaces/contoso-web/node_modules/next/dist/server/lib/router-server.js:174:21)
at async handleRequest (/workspaces/contoso-web/node_modules/next/dist/server/lib/router-server.js:353:24)
at async requestHandlerImpl (/workspaces/contoso-web/node_modules/next/dist/server/lib/router-server.js:377:13)
at async Server.requestListener (/workspaces/contoso-web/node_modules/next/dist/server/lib/start-server.js:140:13)
Expected/desired behavior
OS and Version?
Versions
Mention any other details that might be useful
I have added all the required endpoints and keys to the documentation in the codespace .env file saved it re ran it updated the .Next module to the latest version same error.
The text was updated successfully, but these errors were encountered: