Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

422 Unprocessable Entity #126

Open
andrewbaxter opened this issue Dec 30, 2022 · 1 comment
Open

422 Unprocessable Entity #126

andrewbaxter opened this issue Dec 30, 2022 · 1 comment

Comments

@andrewbaxter
Copy link

Similar to the 404, I'm getting an inscrutable error when creating a machine (this is a different machine):

Create request failed: 422 Unprocessable Entity, &{ID: Name: State: Region: InstanceID: PrivateIP: Config:{Env:map[] Init:{Exec:[] Entrypoint:[] Cmd:[]} Image: Metadata:<nil> Restart:{Policy:}
Services:[] Mounts:[] Guest:{CPUKind: Cpus:0 MemoryMb:0}} ImageRef:{Registry: Repository: Tag: Digest: Labels:{}} CreatedAt:0001-01-01 00:00:00 +0000 UTC}

I have no idea what I did wrong, at the moment it looks like I'll need to resolve this via trial and error.

Improving the error message to indicate

  1. what was sent
  2. what was expected
  3. why this was a problem
  4. potential remedies

would be wonderful.

@vousmeevoyez
Copy link

I've entered the incorrect region, it works after updating the region with sg.

https://fly.io/docs/reference/regions/

@andrewbaxter andrewbaxter mentioned this issue Dec 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants