3

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.

Charles
  • 50,943
  • 13
  • 104
  • 142
jsd
  • 7,673
  • 5
  • 27
  • 47

1 Answers1

0

I've found an answer.. and it's pretty obvious:

Merstzik
  • 94
  • 8