Troubleshooting
- Connection refused or server not running
The continuous modernization CLI requires a running server. Start it with
atx ct server &and verify withatx ct status --health.- Discovery scan returns zero repositories
For local sources, verify that
--pathpoints to a parent directory that contains repositories as subdirectories (for example,/home/user/repos), not to a repository directly (for example,/home/user/repos/my-app). The scanner looks for child directories that contain a.gitfolder.- SETUP_REQUIRED error
The source exists in your account but credentials are not configured on this machine. Run
atx ct source add --nameto configure credentials locally.name- AUTH_REQUIRED error
No valid token found for the source. Verify your token is correct and has the required scopes. For GitHub, ensure the token has
reposcope. For GitLab, ensureapiscope.- INVALID_INPUT error
Verify you are using the correct analysis type name. Valid values are:
tech-debt-quick,tech-debt-comprehensive,security,agentic-readiness,modernization-readiness,custom.- Permission errors during remediation
Remediation creates branches and pull/merge requests, which requires write access to the repository. Update your token with write permissions. For GitHub, ensure full
reposcope. For GitLab, ensureapiscope. For Bitbucket, ensurewrite:repository:bitbucketandwrite:pullrequest:bitbucketscopes.- Security agent setup fails
Verify your IAM user or role has the required AWS CloudFormation, IAM, and Amazon S3 permissions listed in the Security agent setup section of How AWS Transform continuous modernization works. Check the status with
atx ct setup security-agent --status.- Continuous modernization not visible in the web application
If continuous modernization does not appear after you sign in to the AWS Transform web application, sign in with the IAM credentials of the AWS account where AWS Transform is enabled instead of AWS IAM Identity Center. For steps, see AWS Transform web application (Optional).