BookmarkSubscribeRSS Feed
yf_nf
Fluorite | Level 6

Hello,

 

I'm trying to bulk load group identifiers using the SAS Viya CLI with the following command:
./sas-viya identities bulkload-group-identifiers --file /path/file.csv


Here is the content of my CSV file:

group,AB,123,wx
group,CD,124,yz

 

However, after running the command, I get the following error:

 


The Bulk Loading of Group identifiers completed.
{
"details": [
"Failed creating 2 GROUP identifier(s). See errors reported for more information."
],
"error": {
"errorCode": 10586,
"errors": [
{
"errorCode": 10530,
"httpStatusCode": 404,
"message": "The identity \"AB\" was not found."
},
{
"errorCode": 10530,
"httpStatusCode": 404,
"message": "The identity \"CD\" was not found."
}
],
"httpStatusCode": 400,
"message": "The input used to bulk load identifier values was not valid."
}
}

 

 


If anyone has a working example or a correct way to create groups in bulk using a CSV file, I would really appreciate your help or any guidance.

Thanks in advance!

1 REPLY 1
gwootton
SAS Super FREQ
The CSV file would be in the format:
<identity_type>,<identity_id>,<gid>

So if you are trying to set a group with the ID "groupA" a GID of "1234", the CSV line would be:
group,groupA,1234

The group "groupA" in this example must already exist in your deployment.
--
Greg Wootton | Principal Systems Technical Support Engineer

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

Discussion stats
  • 1 reply
  • 626 views
  • 0 likes
  • 2 in conversation