-
Notifications
You must be signed in to change notification settings - Fork 624
webhook-notifier 400 error #150
Copy link
Copy link
Labels
bugSomething isn't workingSomething isn't working
Description
Description
I cannot access the settings page for webhook-notifier. what else do I need to do?
Steps to reproduce
- install blog template
- run
bun run dev
Environment
- emdash version: 0.1.0
- webhook-notifier version: 0.1.0
- node version: 22.13.1
- runtime: cloudflare workers
- os: macOS
Logs / error output
This pops up on the settings page:
Plugin responded with 400: {"error":{"code":"ROUTE_ERROR","message":"Failed to start Worker:\nUncaught SyntaxError: Unexpected token '{'\n at sandbox-plugin.js:9:12"}}This pops up in the terminal even if I'm not visiting the settings page:
15:25:36 [ERROR] [vite] EmDash: Sandboxed plugin route error: Error: Failed to start Worker:
Uncaught SyntaxError: Unexpected token '{'
at sandbox-plugin.js:9:12
at CloudflareSandboxedPlugin.withWallTimeLimit (/Users/finn/code/emdash/hello-theme/node_modules/.vite/deps_ssr/@emdash-cms_cloudflare_sandbox.js?v=48c575ae:839:14)
at EmDashRuntime2.handleSandboxedRoute (/Users/finn/code/emdash/hello-theme/node_modules/.vite/deps_ssr/emdash_middleware.js?v=48c575ae:1410:15)
at Module.handleRequest (/Users/finn/code/emdash/hello-theme/node_modules/emdash/src/astro/routes/api/plugins/[pluginId]/[...path].ts?v=48c575ae:68:17)
at renderEndpoint (/Users/finn/code/emdash/hello-theme/node_modules/.vite/deps_ssr/chunk-BMNZU5YI.js?v=48c575ae:46:18)
at lastNext (/Users/finn/code/emdash/hello-theme/node_modules/.vite/deps_ssr/chunk-AHTG6H44.js?v=48c575ae:2011:23)
at /Users/finn/code/emdash/hello-theme/node_modules/.vite/deps_ssr/emdash_middleware.js?v=48c575ae:1647:29
at callMiddleware (/Users/finn/code/emdash/hello-theme/node_modules/.vite/deps_ssr/chunk-AHTG6H44.js?v=48c575ae:1034:10)
at _RenderContext.render (/Users/finn/code/emdash/hello-theme/node_modules/.vite/deps_ssr/chunk-AHTG6H44.js?v=48c575ae:2058:73)
at DevApp.render (/Users/finn/code/emdash/hello-theme/node_modules/.vite/deps_ssr/chunk-AHTG6H44.js?v=48c575ae:2968:20)
at Object.handle [as fetch] (/Users/finn/code/emdash/hello-theme/node_modules/.vite/deps_ssr/@astrojs_cloudflare_entrypoints_server.js?v=48c575ae:208:20)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working