- Newest
- Most votes
- Most comments
It looks like you're experiencing authentication issues with Amazon Q Developer. Based on the error messages you're seeing, there are a few potential causes and solutions:
-
Authentication failures: When you see "error: service error" after the login process appears to complete, this often indicates an issue with the authentication process. Even though you received the "Request approved" message, the actual connection to Amazon Q services might not be establishing correctly.
-
Try re-authenticating: Run
q loginagain to attempt re-authentication. Sometimes this can resolve temporary authentication issues. -
Check your subscription status: Verify that you have an active Amazon Q Developer subscription. If you're using a subscription provisioned by an administrator, ensure that it's properly configured and active. It may take up to 24 hours for a new subscription to activate fully.
-
Network connectivity issues: Amazon Q uses WebSocket technology over port 8443 for secure communication. Ensure this port is accessible on your network. If you're using a VPN or firewall, try testing with it turned off to see if that affects the connection.
-
Run diagnostic tools: Try running
q doctorin your terminal to diagnose common issues with your Amazon Q installation. -
Service capacity issues: In some cases, these errors can occur due to high demand on the Amazon Q service. If this is the case, you might need to wait and retry your request later.
-
Check for the latest extension: Make sure you have installed the latest Amazon Q extension and are using a supported version of your IDE (if you're using Amazon Q in an IDE).
If the issue persists, you might want to report the problem using the q issue command in your terminal or check the Amazon Q logs for more detailed error information.
Sources
Troubleshoot Amazon Q Developer authentication errors in IDE | AWS re:Post
Amazon Q is having trouble responding right now: | AWS re:Post
Accessing and using Amazon Q Developer logs - Amazon Q Developer
answered a year ago
Relevant content
asked a year ago

Using latest version
I've tried re-authenticating 10 times till now. not working.
Also, Q doctor also needs login it seems. So, cannot use it.