Skip to content

Commit 3764770

Browse files
authored
nit(opsgenie): add config access requirement to error text (#74111)
Users who set up their Opsgenie API keys via the Opsgenie API were experiencing problems due to a lack of configuration access. However, the error message that they encountered did not indicate that this was the problem, so this PR makes the issue more clear.
1 parent e094d24 commit 3764770

File tree

1 file changed

+1
-1
lines changed
  • src/sentry/integrations/opsgenie/actions

1 file changed

+1
-1
lines changed

src/sentry/integrations/opsgenie/actions/form.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def _validate_team(self, team_id: str | None, integration_id: int | None) -> Non
113113
raise forms.ValidationError(
114114
_(
115115
'The provided API key is invalid. Please make sure that the Opsgenie API \
116-
key is an integration key of type "Sentry".'
116+
key is an integration key of type "Sentry" that has configuration access.'
117117
),
118118
code="invalid_key",
119119
params=params,

0 commit comments

Comments
 (0)