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

Most upvoted comments

FYI, creating a new alias with the same deployment works as expected.

now alias pinboard-api-uyxgzttyic.now.sh pinboard-api2.now.sh

…so I thought that removing and adding the old alias might fix the problem… and what do you know? It did!

now alias rm pinboard-api.now.sh
now alias pinboard-api-uyxgzttyic.now.sh pinboard-api.now.sh

Will investigate this. Of course any PR is always appreciated!