fly launch can't find a region for a pre-made fly.toml

I have a Dockerfile in the directory that the below handwritten fly.toml is in.

```
app = "unique-new-app-name"

[metrics]
port = 9091
path = "/metrics"

[[vm]]
cpu_kind = "shared"
cpus = 2
memory_mb = 512
```

In that directory I try to fly launch it:

> fly launch --ha=false --region=iad
An existing fly.toml file was found for app unique-new-app-name
? Would you like to use this fly.toml configuration for this app? Yes

Scanning source code
Detected a Dockerfile app
Creating app in /[directory]
Error: region  not found. Is this a valid region according to `fly platform regions`?

I have tried with primary_region set in the toml file, i have tried without --region. Everything fails with that error of an ‘empty’ region. I’ve tried fly deploy, but that fails with ‘no app exists’

What am I doing wrong?

Hm… If you already have a fly.toml and a Dockerfile, then you could just as well do this as fly app create followed by fly deploy.

(fly launch is rather heuristic, in my opinion, and personally I always use those other two instead, :sweat_smile:.)

At any rate, it would be a useful debugging step…

Hi @dewjer ,

We’ve seen this happen if there’s one particular weird configuration in the organization’s billing setup. If you let me know what the organization is, I can check.

If you have a support plan you can also send us the org information as a support ticket and we’ll have a look!