Deployment fails with error 500 on fly deploy

ubuntu@REDACTED:~/REDACTED/REDACTED$ fly version update
Already running latest flyctl v0.3.201
ubuntu@REDACTED:~/REDACTED/REDACTED$ fly deploy -c umami-prod.toml
==> Verifying app configValidating umami-prod.toml
✓ Configuration is valid 
→ Verified app config
==> Building image
Searching for image ‘docker.umami.is/umami-software/umami:postgresql-latest’ remotely…
image found: img_n37qpoo93r53pmz6

Watch your deployment at https://fly.io/apps/REDACTED/monitoring

Error: returned error 500: {“data”:{},“errors”:[{“message”:“You hit a Fly API error with request ID: 01K881BZ1WHQNHA58GKWVXV3Z5-iad”,“extensions”:{“code”:“SERVER_ERROR”,“fly_request_id”:“01K881BZ1WHQNHA58GKWVXV3Z5-iad”}}]}

After created app with fly launch, running fly deploy got error code 500. Tried with another account in same team and still got the error

After retries several time, the issue is resolved