apache/dolphinscheduler · error · ServiceException
USER_NO_OPERATION_PERM
USER_NO_OPERATION_PERM
Error message
USER_NO_OPERATION_PERM
What it means
Thrown by queryAlertGroupById when canOperatorPermissions fails: the caller is not an admin and lacks the ALERT_GROUP_VIEW permission on the alert group. It is a standard authorization guard — the requested alert group id cannot be viewed by this user.
Source
Thrown at dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/AlertGroupServiceImpl.java:93
if (ids.isEmpty()) {
return Collections.emptyList();
}
return alertGroupDao.queryByIds(ids);
}
/**
* query alert group by id
*
* @param loginUser login user
* @param id alert group id
* @return one alert group
*/
@Override
public AlertGroup queryAlertGroupById(User loginUser, Integer id) {
// only admin can operate
if (!canOperatorPermissions(loginUser, new Object[]{id}, AuthorizationType.ALERT_GROUP, ALERT_GROUP_VIEW)) {
throw new ServiceException(Status.USER_NO_OPERATION_PERM);
}
// check if exist
AlertGroup alertGroup = alertGroupDao.queryById(id);
if (alertGroup == null) {
throw new ServiceException(Status.ALERT_GROUP_NOT_EXIST, id);
}
return alertGroup;
}
/**
* paging query alarm group list
*
* @param loginUser login user
* @param searchVal search value
* @param pageNo page number
* @param pageSize page size
* @return alert group list page
*/View on GitHub (pinned to 02eac45a1b)
Solutions
- Log in as an admin user, or ask an admin to grant the ALERT_GROUP_VIEW permission for this alert group.
- Verify the alert group id is correct and belongs to a resource your user is authorized to see.
- Use the alert group list endpoint to confirm which groups your account can access.
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/AlertGroupServiceImpl.java:93 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of apache/dolphinscheduler@02eac45a1b (2026-09-06).
Data as JSON: /api/errors/87a9e7563cd7f8c4.
Report an issue: GitHub.