
SarahS.89561 (Customer) asked a question.
I have a table with OKTA ID in and six possible options for a string array, not all cell's have values, I'm running into an issue when I do a constuct from the table and pass the value to the update user card, if any of the values are empty it erros with the above message
I have around 8000 users to update and most will have only one or two of those options selected in the table, how do I get around the issue of the empty values

Hello Sarah,
The screenshot apparently didn't take so I don't see an error message. But the mention of update user there is two options: Partial or Strict and they behave very differently.
Partial is a "POST" action and only updates values that were provided.
Strict is a "PUT" action and requires all possible values be filled out and will treat all non-defined values as empty. If they are a required value I would expect an error to occur.
More detail can be found in the API documentation: https://developer.okta.com/docs/reference/api/users/#update-user
Using "Partial" and passing in empty values into multiple properties in the update User card did not result in any errors for me in my testing.
Hi Tim
I think I worded it badly, what I need is a way to remove the empty values fromt he below and can't seem to find a way to do it
[
"spec001",
"spec002",
"spec003",
"",
"",
""
]
Here is an example to meet the newly explained use case:
(Edit: I used the word "list of text object" which is incorrect. Ignore the word object. It is just a JSON formatted list/array of text/strings)
Thanks Tim, worked like a charm