Skip to content

Commit edb9b0d

Browse files
authored
fix(opsgenie): align access-rights error with docs (apache#8976)
1 parent 15e34bb commit edb9b0d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

backend/plugins/opsgenie/api/connection_api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ func testOpsgenieConn(ctx context.Context, connection models.OpsgenieConn) (*plu
4848
}
4949

5050
if response.StatusCode == http.StatusForbidden {
51-
return nil, errors.HttpStatus(http.StatusForbidden).New("API Key need 'Read' and 'Configuration access' Access rights")
51+
return nil, errors.HttpStatus(http.StatusForbidden).New("API Key needs 'Read', 'Create/Update', and 'Configuration Access' access rights")
5252
}
5353

5454
if response.StatusCode == http.StatusOK || response.StatusCode == http.StatusAccepted {

0 commit comments

Comments
 (0)