Share feedback, ideas and get community help

Home
Members
CptPlastic
C
CptPlastic
Offline, last seen last month
Joined September 10, 2024
If I have a client side script and I set a variable, lets call it {{id}} when I pass that variable like this in an APP client side.

On the client I run the script

Plain Text
window.progress.add({
  id: "{{TestId}}"
});

The results is: vl6402idq2k63zn3q99rhp2ho ( what is that? It looks like the variable id or sometyhing.)

Also if I just use text and no variable it works fine and the results are as they should be. Like...

Plain Text
window.progress.add({
  id: "ABC123"
});


Can I not pass a variable to the client browser? Is this a bug? I figure I should be able to pass that when the page loads just fine but I keep getting this odd string.
2 comments
C
I was trying to make a web HTTP call. I am running everything local and I seen this error when trying to fetch a url. Any ideas?
Plain Text
TypeError: fetch failed
    at node:internal/deps/undici/undici:12618:11
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async function_ (file:///app/node_modules/.pnpm/[email protected]/node_modules/ky/distribution/core/Ky.js:18:28)
    at async T (/app/apps/viewer/.next/server/chunks/77.js:1:2536)
    at async E (/app/apps/viewer/.next/server/chunks/77.js:1:1183)
    at async /app/apps/viewer/.next/server/pages/api/[...trpc].js:82:16636
    at async x (/app/apps/viewer/.next/server/pages/api/[...trpc].js:82:13780)
    at async O (/app/apps/viewer/.next/server/pages/api/[...trpc].js:86:200415)
    at async u (/app/apps/viewer/.next/server/pages/api/[...trpc].js:30:25108)
�    at async resolveMiddleware (file:///app/node_modules/.pnpm/@[email protected]/node_modules/@trpc/server/dist/index.mjs:420:30) {
  cause: Error: connect ECONNREFUSED ::1:11434
      at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16) {
    errno: -111,
    code: 'ECONNREFUSED',
    syscall: 'connect',
    address: '::1',
    port: 11434
  }
}
4 comments
C
B
This seemed to just start coming up did anything change recently with the new versions? Nothing in the logs.

GitHub Issue
https://github.com/baptisteArno/typebot.io/issues/1163
100 comments
M
C
B
z