Skip to content

Generated App Failing – Worker Routes Error #340

@c-chandrika

Description

@c-chandrika

After generating an app using VibeSDK, the generated application is failing when making API requests.

I’m encountering the following error when calling the /api/todos endpoint from the build preview URL.

API Request

curl 'https://8001-b7d564d6-d635-41eb-b74b-cad466fcf17a-cu_cnrotzjglm60o.build-preview.cloudflare.dev/api/todos' \
  -H 'content-type: application/json' \
  --data-raw '{"id":"7e6f3cd8-4954-4fca-867b-732e5683ee91","text":"hi","completed":false,"createdAt":1771659225075}'

Response

{
  "success": false,
  "error": "Worker routes failed to load",
  "detail": "Can not add a route since the matcher is already built."
}

Let me know if any additional logs or configuration details are needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions