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.
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/todosendpoint from the build preview URL.API Request
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.