-
Notifications
You must be signed in to change notification settings - Fork 74
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
lightspeed: use the code value from the 403 #1024
Merged
ssbarnea
merged 3 commits into
ansible:main
from
goneri:goneri/lightspeed-use-the-code-value-from-the-403_8454
Dec 9, 2023
Merged
lightspeed: use the code value from the 403 #1024
ssbarnea
merged 3 commits into
ansible:main
from
goneri:goneri/lightspeed-use-the-code-value-from-the-403_8454
Dec 9, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0a81a02
to
88523d3
Compare
ff3e731
to
31cf919
Compare
ganeshrn
approved these changes
Dec 6, 2023
@goneri Can you please fix the CI failure |
audgirka
requested changes
Dec 8, 2023
17cf31c
to
649d9e7
Compare
The 403 error can now return a `code` value to specify the nature of the error. `permission_denied_wca_api_key_is_missing` is the first case we can get. The error happens when the access is denied because the user has a seat but the organization has not been fully configured yet.
Handle the `permission_denied__org_not_ready_because_wca_not_configured` error and returns the following error to the user: ``` Contact your administrator to configure IBM watsonx Code Assistant model settings for your organization. ```
649d9e7
to
399c636
Compare
audgirka
approved these changes
Dec 8, 2023
The CI gods are against me. |
@ajinkyau could you also take a look at #1029. It's a CI fix that address the err 127 that we get time to time when Task tries to call |
2 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The 403 error can now return a
code
value to specify the nature of theerror.
permission_denied_wca_api_key_is_missing
is the first case we can get.The error happens when the access is denied because the user has a seat
but the organization has not been fully configured yet.
Depends-On: #1026
Depends-On: #1029