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
Error toast: Error: You must pass a string or Handlebars AST to Handlebars.compile. You passed [object Object]
Logs:
Oct 04 15:11:40 v :: Error: You must pass a string or Handlebars AST to Handlebars.compile. You passed [object Object]
Oct 04 15:11:40 at Object.compile (/app/code/node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js:494:11)
Oct 04 15:11:40 at HandlebarsEnvironment.hb.compile (/app/code/node_modules/handlebars/dist/cjs/handlebars.js:39:40)
Oct 04 15:11:40 at l (/app/code/node_modules/nocodb/dist/bundle.js:2:535456)
Oct 04 15:11:40 at u (/app/code/node_modules/nocodb/dist/bundle.js:2:536811)
Oct 04 15:11:40 at d (/app/code/node_modules/nocodb/dist/bundle.js:2:536648)
Oct 04 15:11:40 at t.invokeWebhook (/app/code/node_modules/nocodb/dist/bundle.js:2:538082)
Oct 04 15:11:40 at v (/app/code/node_modules/nocodb/dist/bundle.js:2:1401576)
Oct 04 15:11:40 at runMicrotasks (<anonymous>)
Oct 04 15:11:40 at processTicksAndRejections (node:internal/process/task_queues:96:5)
Oct 04 15:11:40 at async /app/code/node_modules/nocodb/dist/bundle.js:2:37950 {
Oct 04 15:11:40 description: undefined,
Oct 04 15:11:40 fileName: undefined,
Oct 04 15:11:40 lineNumber: undefined,
Oct 04 15:11:40 endLineNumber: undefined,
Oct 04 15:11:40 number: undefined
Oct 04 15:11:40 }
Oct 04 15:11:40 POST /api/v1/db/meta/tables/md_cdrvfg5a6f0bpp/hooks/test 400 100 - 4.317 ms
Desired Behavior
Webhook test should succeed or at least reply with a HTTP error.
Project Details
NocoDB 0.97.0 running in Docker on Cloudron with Postgres
Attachements
No response
The text was updated successfully, but these errors were encountered:
I just want to add that I receive the same error when I try to use any form of handlebars syntax in the body, except when I just leave the default pre-filled {{json data}}. Does #3954 resolve this issue in general?
Please confirm if bug report does NOT exists already ?
Steps to reproduce ?
Error: You must pass a string or Handlebars AST to Handlebars.compile. You passed [object Object]
Logs:
Desired Behavior
Webhook test should succeed or at least reply with a HTTP error.
Project Details
NocoDB 0.97.0 running in Docker on Cloudron with Postgres
Attachements
No response
The text was updated successfully, but these errors were encountered: