I want to troubleshoot issues that I receive when I use Amazon Q Developer code transformation to upgrade my application.
Resolution
Amazon Q Developer code transformation can fail for several reasons. If you're using Amazon Q Developer code transformation in a supported integrated development environment (IDE), then complete the resolution that best fits your use case.
Before you begin, make sure that you're using a supported Java version. If you're using .NET, then you must meet the required prerequisites. Also, confirm that you correctly set up Amazon Q Developer in your IDE.
Troubleshoot Java transformation issues
To troubleshoot common Java transformation issues, see the following resources:
If you receive an HTTP 403 status code error, then the Amazon Simple Storage Service (Amazon S3) pre-signed URL that you used to upload code artifacts expired. The URL can expire when your data loss prevention (DLP) system takes longer than 30 minutes to scan the payload.
Troubleshoot .NET transformation issues
To troubleshoot common .NET transformation issues, see the following resources:
Troubleshoot other transformation issues
If you still experience transformation issues, then check the IDE logs for more details.
In JetBrains, search the IDE logs for the software.aws.toolkits.jetbrains.services.codemodernizer string to find the logs that Amazon Q Developer provides. For more information, see Locating IDE log files on the JetBrains website.
In the Visual Studio Code IDE, complete the following steps:
- In the navigation pane, choose View, and then choose Command Palette.
- Enter "Amazon Q: View Logs" in the search bar to open the logs in IDE.
- Press CMD+F or Ctrl+F, and then enter the code transformation string to search the logs.
If the preceding steps don't resolve your transformation issues, then contact AWS Support. Include the transformation job ID in your support case.
To find the transformation job ID, take the following actions for the tool that you're using:
- In JetBrains, open the Transformation Hub. Choose Transformation details, and then choose Show Job Status.
- In VS Code, open the Transformation Hub, and then choose Show Job Status.
- In Visual Studio, choose the Output tab. Under Show output from:, choose Amazon Q Language Client.