vercel: An unexpected error occurred in alias: Error: Expected scaling rules for DCs (400)
now -v
11.1.4
After running now alias (having previously run now to deploy the latest version of my code), I receive this error:
> Assigning alias pinboard-api.now.sh to deployment pinboard-api-oubedhggbm.now.sh
> Error! An unexpected error occurred in alias: Error: Expected scaling rules for DCs (400)
at responseError (/snapshot/repo/dist/now.js:1632:15)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)
I have tried redploying, updated dependencies but because the deployment has already taken place, the now alias call should just do the switch on an already deployed instance.
What to do?
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 15 (4 by maintainers)
Commits related to this issue
- Remove old alias before creating it, see https://github.com/zeit/now-cli/issues/1296 — committed to wwerner/bashplate by wwerner 6 years ago
FYI, creating a new alias with the same deployment works as expected.
…so I thought that removing and adding the old alias might fix the problem… and what do you know? It did!
Will investigate this. Of course any PR is always appreciated!