Closed gianpaj closed 1 year ago
@gianpaj Thank you for reporting the issue. Can you please describe the steps that resulted in this error?
I tried the autotomplete. Press that tab button on a typescript file
Can you increase the log level to "VERBOSE", then provide the logs (remove any private info!):
AWS: View Toolkit Logs
command to get the logs.Also:
Hi @justinmk3 ,
I tried again here are the logs
2023-04-21 18:46:35 [ERROR]: log level: verbose
2023-04-21 18:46:35 [INFO]: endpoints: retrieving AWS endpoints data
2023-04-21 18:46:35 [VERBOSE]: loading file resource: "/Users/gpalumbo/.vscode/extensions/amazonwebservices.aws-toolkit-vscode-1.69.0/resources/endpoints.json"
2023-04-21 18:46:35 [INFO]: OS: Darwin arm64 22.4.0
2023-04-21 18:46:35 [INFO]: Visual Studio Code extension host: 1.77.3
2023-04-21 18:46:35 [INFO]: AWS Toolkit: 1.69.0
2023-04-21 18:46:35 [INFO]: node: 16.14.2
2023-04-21 18:46:35 [INFO]: electron: 19.1.11
2023-04-21 18:46:35 [VERBOSE]: Telemetry is now enabled
2023-04-21 18:46:35 [WARN]: AwsContext: no default region in credentials profile, falling back to us-east-1:
2023-04-21 18:46:35 [VERBOSE]: downloading: https://api.github.com/repos/devfile/api/releases/latest
2023-04-21 18:46:35 [VERBOSE]: codecatalyst: not a devenv, getThisDevEnv() returned empty
2023-04-21 18:46:35 [VERBOSE]: downloading: https://idetoolkits.amazonwebservices.com/endpoints.json
2023-04-21 18:46:35 [VERBOSE]: downloaded: https://api.github.com/repos/devfile/api/releases/latest
2023-04-21 18:46:35 [VERBOSE]: loading file resource: "/Users/gpalumbo/Library/Application Support/Code/User/globalStorage/amazonwebservices.aws-toolkit-vscode/sam.schema.json"
2023-04-21 18:46:35 [VERBOSE]: downloaded: https://idetoolkits.amazonwebservices.com/endpoints.json
2023-04-21 18:46:36 [VERBOSE]: E-Tag, W/"8d98f6c5c3a34de16898833a5d43ecfc74718e5e92942c7005c525674e76543f", matched. No content downloaded from: https://raw.githubusercontent.com/aws/serverless-application-model/main/samtranslator/schema/schema.json
2023-04-21 18:46:36 [VERBOSE]: loading file resource: "/Users/gpalumbo/Library/Application Support/Code/User/globalStorage/amazonwebservices.aws-toolkit-vscode/sam.schema.json"
2023-04-21 18:46:36 [VERBOSE]: E-Tag, W/"8d98f6c5c3a34de16898833a5d43ecfc74718e5e92942c7005c525674e76543f", matched. No content downloaded from: https://raw.githubusercontent.com/aws/serverless-application-model/main/samtranslator/schema/schema.json
2023-04-21 18:46:36 [VERBOSE]: loading file resource: "/Users/gpalumbo/Library/Application Support/Code/User/globalStorage/amazonwebservices.aws-toolkit-vscode/devfile.schema.json"
2023-04-21 18:46:56 [ERROR]: CodeWhisperer Invocation Exception :
2023-04-21 18:46:56 [VERBOSE]: CodeWhisperer Invocation Exception : Error: The requested operation is not recognized by the service.
2023-04-21 18:46:56 [VERBOSE]: Request ID: , timestamp(epoch): 1682099216143, timezone: Europe/Dublin, datetime: 4/21/2023, 6:46:56 PM, vscode version: '1.77.3', extension version: '1.69.0', filename: 'index.ios.js', left context of line: '', line number: 11, character location: 0, latency: 780.8831670284271 ms.
2023-04-21 18:46:56 [VERBOSE]: Recommendations:
When I manually press on Invoce service
, I get
2023-04-21 18:48:57 [ERROR]: API response (oidc.us-east-1.amazonaws.com /token): {
name: 'InvalidGrantException',
'$fault': 'client',
'$metadata': {
httpStatusCode: 400,
requestId: 'db06d658-71f7-4587-9cc9-19449a8a18e8',
extendedRequestId: undefined,
cfId: undefined
},
error: 'invalid_grant',
error_description: 'Invalid grant provided',
message: 'UnknownError'
}
fixed by re-logging in, thanks. I can cancel GitHub Copilot now :)
Thanks for the followup! This should be improved by https://github.com/aws/aws-toolkit-vscode/pull/3359 (not released yet).
Problem
Steps to reproduce the issue
try to use extension
Expected behavior
work
System details (run the
AWS: About Toolkit
command)