-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lightspeed: use the code value from the 403 (#1024)
* lightspeed: use the code value from the 403 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. * Lightspeed: show an error when the WCA key is not set 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. ``` --------- Co-authored-by: Sorin Sbarnea <ssbarnea@redhat.com>
- Loading branch information
Showing
5 changed files
with
56 additions
and
3 deletions.
There are no files selected for viewing
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
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
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
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
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