Hello, monday.com community. I am trying to get the name of a column given its id and board id. My code is
query($boardId: [Int], $columnId: [String]) {
boards(ids:$boardId){
columns(ids:[$columnId]){
title
}
}
}
const variables = { boardId, columnId };
const response = await mondayClient.api(query, { variables });
I am facing the following error
{
[0] errors: [
[0] {
[0] message: 'List dimension mismatch on variable $columnId and argument ids ([[String]]! / [String])',
[0] locations: [Array],
[0] fields: [Array]
[0] }
[0] ],
[0] }
Would appreciate any help. Thank You!!.