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

Provide hint for Unauthorized (401) errors #747

Open
bayrakta opened this issue Nov 17, 2023 · 1 comment
Open

Provide hint for Unauthorized (401) errors #747

bayrakta opened this issue Nov 17, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@bayrakta
Copy link

Is your feature request related to a problem? Please describe.
On a deploy command, started receiving the following error :
⠴ Getting Extension Points in Workspace=dev... › Error: [CoreConsoleAPISDK:ERROR_GET_WORKSPACE_ENDPOINTS] 401 - Unauthorized ({"error_code":"401013","message":"Oauth token is not valid"})

Describe the solution you'd like
The proposed solution was using the command 'aio login --force'. It would be very beneficial for providing a hint message on this particular problem.

Describe alternatives you've considered
Please add the following hint after the error message :
Hint : You might try to force login with the command 'aio login --force'.

Additional context
In case you decide to provide such an hint, it might be good to consider similar hint messages for the other known error types.

@moritzraho moritzraho added the enhancement New feature or request label Nov 17, 2023
@aiojbot
Copy link
Collaborator

aiojbot commented Nov 17, 2023

JIRA issue created: https://jira.corp.adobe.com/browse/ACNA-2635

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants