We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 005029c commit b38b84fCopy full SHA for b38b84f
src/main/java/org/opensearch/flowframework/util/ParseUtils.java
@@ -509,10 +509,7 @@ public static void onGetWorkflowResponse(
509
} else {
510
logger.debug("User: " + requestUser.getName() + " does not have permissions to access workflow: " + workflowId);
511
listener.onFailure(
512
- new FlowFrameworkException(
513
- "User does not have permissions to access workflow: " + workflowId,
514
- RestStatus.BAD_REQUEST
515
- )
+ new FlowFrameworkException("User does not have permissions to access workflow: " + workflowId, RestStatus.FORBIDDEN)
516
);
517
}
518
} catch (Exception e) {
0 commit comments