i am not able to deploy due to the issues below

DEBUG [finalize]: Using API base URL: https://api.fly.io

Error: failed to parse manifest: json: cannot unmarshal object into Go struct field LaunchManifest.config.Alias.services.ports of type int

DEBUG [finalize]: Using API base URL: https://api.fly.io

Error: failed to parse manifest: json: cannot unmarshal object into Go struct field LaunchManifest.config.Alias.services.ports of type int

unsuccessful command ‘flyctl-sessions finalize --session-path /tmp/session.json --manifest-path /tmp/manifest.json --from-file /opt/customize.json’

This sounds like you have specified an int in your app config where we are expecting a services.ports definition (which should a toml object).

If you can share your full fly.toml here (please redact anything sensitive first) we might be able to offer more guidance.

Is flyctl-sessions a custom script of yours? It’s not a binary that we publish, and there’s no flyctl sessions subcommand either.