"Argument 'boardId' annotated with @ARI did not contain valid ARI: 867"

Hi guys!

I’ve stuck with this error, could someone help me with it.
I’m trying to add new column to the project. Copied mostly the same request that I see in the browsers network.

mutation SoftwareColumnCreate($boardId: ID!, $columnName: String!)
{        
  createColumn(input: {boardId: $boardId, columnName: $columnName}) 
  {            
    newColumn {                
      id                
      name                               
      columnStatus{ 
        status{
        						id                   
        						name  
        }              
      			 }                
      columnStatus {                    
        ...ColumnStatusFragment                
      }                
      isInitial                
      isDone                
      id            
    }            
    columns {                
      id                
      name                                
      columnStatus {                    
        				status{
        						id                   
        						name  
        }                          
      }                
      columnStatus{                    
        ...ColumnStatusFragment                
      }                
      isInitial                
      isDone                
                  id
    }        
  }    
}            
fragment ColumnStatusFragment on ColumnStatus {        
  status {            
    id            
    name            
    category        
  }        
  transitions {            
    id            
    name            
    status {                 
      id            
    }            
    originStatus { 
      id 
    }            
    cardType { 
      id 
    }            
    isGlobal            
    isInitial            
    hasConditions        
  }    
}

tried with such parameter, but still fails
ari:cloud:jira:board:{ID}

I found the solution. “ari:cloud:jira:{orgId}:board:{boardId}” and it works in graphQl explorer
But when I’m trying to use it in the code, I’m getting next errors
401 in case of using Basic authorization.
And “Auth category: THIRD_PARTY_OAUTH is not allowed in service jsw”
in case of using OAuth flow.
How can I solve the problem with authentication?