adobe / adobe/aio-cli-plugin-app
Provide hint for Unauthorized (401) errors
- Dominant language
- JavaScript
- Stars
- 28
- Forks
- 41
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 3
Description
**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.
Contributor guide
Assessment
This issue has not been assessed yet.