Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Credentials profile invalid #817

Closed
jdurnil2 opened this issue Nov 18, 2019 · 7 comments
Closed

Credentials profile invalid #817

jdurnil2 opened this issue Nov 18, 2019 · 7 comments
Labels
bug We can reproduce the issue and confirmed it is a bug.

Comments

@jdurnil2
Copy link

Describe the bug

When trying to connect get a credentials profile invalid immediately. credentials have been changed to all lowercase, aws toolkit has been uninstalled and installed again
To Reproduce

Expected behavior

Screenshots

Desktop (please complete the following information):

  • OS:
  • Visual Studio Code Version:
  • AWS Toolkit for Visual Studio Code Version:

Additional context

@jdurnil2 jdurnil2 added the bug We can reproduce the issue and confirmed it is a bug. label Nov 18, 2019
@awschristou
Copy link
Contributor

Hi @jdurnil2 thanks for reaching out. Are you able to verify that your credentials are valid (for example, if you have the AWS CLI installed, are you able to run aws s3 ls to list your S3 buckets using the same credentials)

Can you please share what your profile's keys are (do not share the actual values)

@jdurnil2
Copy link
Author

jdurnil2 commented Nov 19, 2019 via email

@awschristou
Copy link
Contributor

awschristou commented Nov 19, 2019

Nice, thank you for trying that out. Currently the toolkit does not have proxy support. This is being tracked in #185 .

@bhupesh-sf
Copy link

I am facing the same issue and I am able to run aws s3 ls from cli. But when I hit connect to aws from vs code it immediately throw error saying:

Unable to write to User Settings because aws.profile is not a registered configuration.

Still struggling, tried everything.

@bhupesh-sf
Copy link

Also facing the issue with detecting SAM CLI, following is the error:

Unable to write to User Settings because aws.samcli.location is not a registered configuration.

@bryceitoc9
Copy link
Contributor

Hi @bhupesh-sf , are you also behind a proxy? If so, we currently don't have support, as @awschristou said. I'm not 100% sure that your issue is related, though, this sounds like a VS Code extension issue. Are you able to access any of the AWS extension's functionality? Could you try uninstalling and re-installing the configuration?

If you can access some AWS extension functionality and you're not behind a proxy, could you please open another issue to track your problems?

@awschristou
Copy link
Contributor

Closing this issue as a duplicate of #185

justinmk3 pushed a commit that referenced this issue Nov 28, 2023
The `createMynahUI` function expects a JSON object. Use `JSON.stringify`
to create a valid string representation of that object to inject into
the HTML stub of the webview. This avoids issues with backticks or $
substitutions in template strings and guarantees a clean string
representation.

Co-authored-by: Pavel Piliaev <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug We can reproduce the issue and confirmed it is a bug.
Projects
None yet
Development

No branches or pull requests

4 participants