I’m completely stuck and hoping someone has encountered this before.
Background
We have a public app project on platform version 2025.1 that was working fine until recently. The local.json proxy (routing hubspot.fetch() calls to our local backend during development) stopped working after a CLI update. hubspot.fetch() requests now bypass the local proxy and hit the internet directly, returning 404.
The CLI logs “Proxy config discovered, enabling local proxy mode” on startup, but requests are never routed through the proxy. Additionally, on exit we consistently see:
[ERROR] Failed to cleanup local dev server: The request failed.
✖ Failed to cleanup before exiting
Migration attempts
To fix this, we tried migrating to a newer platform version using hs project migrate. Every attempt fails with:
“An internal error occurred during this migration. No changes were made to your project or app. Please try the migration again.”
No component-level errors are returned. We’ve tried this across multiple CLI versions — 7.3.0, 7.4.8, 7.11.3, 8.3.0, and 8.4.0 (the currently recommended version per the docs).
One earlier attempt surfaced a different error: APP_FUNCTION: Migration is not supported from source platform version 2026.03. Only migrations from 2025.1 are currently supported. This is unexpected since our project is on 2025.1. We suspect that a separate test project sharing the same app ID may have partially migrated the app’s server-side state, leaving it corrupted.
What we’ve tried
- Multiple CLI versions (v7 and v8)
- hs project install-deps and clean npm install
- Re-authenticating with fresh personal access keys
- Resolving duplicate component UIDs when prompted
- Renaming local.json to .bak to disable the proxy
- Verifying allowedUrls includes the proxied domain
- Confirming the local backend responds correctly to direct requests
None of this has worked. The local dev proxy doesn’t register on the server, and the migration tool consistently hits an internal server error.
Question
Has anyone else run into this? Is there a way to reset an app’s server-side state without going through support? Or is this definitively something only HubSpot support can fix?
Any guidance appreciated — this is blocking all local development.