gitlabhq/gitlabhq · error · Gitlab::Graphql::Errors::ArgumentError
At least one of the arguments fromListId, toListId, position
Error message
At least one of the arguments fromListId, toListId, positionInList, moveAfterId, or moveBeforeId is required
What it means
Error "At least one of the arguments fromListId, toListId, positionInList, moveAfterId, or moveBeforeId is required" thrown in gitlabhq/gitlabhq.
Source
Thrown at app/graphql/mutations/boards/issues/issue_move_list.rb:48
required: false,
description: 'ID of the board list that the issue will be moved to.'
argument :move_before_id, IssueID,
required: false,
description: 'ID of issue that should be placed before the current issue.'
argument :move_after_id, IssueID,
required: false,
description: 'ID of issue that should be placed after the current issue.'
argument :position_in_list, GraphQL::Types::Int,
required: false,
description: "Position of issue within the board list. Positions start at 0. " \
"Use #{::Boards::Issues::MoveService::LIST_END_POSITION} to move to the end of the list."
def ready?(**args)
if move_arguments(args).blank?
raise Gitlab::Graphql::Errors::ArgumentError,
'At least one of the arguments ' \
'fromListId, toListId, positionInList, moveAfterId, or moveBeforeId is required'
end
if move_list_arguments(args).one?
raise Gitlab::Graphql::Errors::ArgumentError,
'Both fromListId and toListId must be present'
end
if args[:position_in_list].present?
if move_list_arguments(args).empty?
raise Gitlab::Graphql::Errors::ArgumentError,
'Both fromListId and toListId are required when positionInList is given'
end
if args[:move_before_id].present? || args[:move_after_id].present?
raise Gitlab::Graphql::Errors::ArgumentError,
'positionInList is mutually exclusive with any of moveBeforeId or moveAfterId'View on GitHub (pinned to 55ee20384a)
When it happens
Trigger: Thrown at app/graphql/mutations/boards/issues/issue_move_list.rb:48 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of gitlabhq/gitlabhq@55ee20384a (2026-08-21).
Data as JSON: /api/errors/ea76f7315b5f41a7.
Report an issue: GitHub.