I'm trying to patch an existing group via the API but it's returning this error:
{
"error": {
"errors": [
{
"domain": "global",
"reason": "invalid",
"message": "Permission denied: Cannot hide from Groups directory."
}
],
"code": 400,
"message": "Permission denied: Cannot hide from Groups directory."
}
}
The group currently has "showInGroupDirectory" => false.
I have set showInGroupDirectory to true in the patch request so I don't know why I am getting this error.