{"errors":[{"id":"F6016","title":"URL Rule is not configured"}]}

{"errors":[{"id":"F6016","title":"URL Rule is not configured"}]}

I need to change permissions on an external share link. Here is my code:

  1. permission_id = "59mP5pbPAhe-AfgCh";
  2. header = Map();
  3. header.put("Accept","application/vnd.api+json");
  4. data = Map();
  5. data_param1 = Map();
  6. att_param1 = Map();
  7. att_param1.put("role_id","34");
  8. data_param1.put("attributes",att_param1);
  9. data_param1.put("type","permissions");
  10. data.put("data",data_param1);
  11. response = invokeurl
  12. [
  13. url :"https://www.zohoapis.com/workdrive/api/v1/permissions/" + permission_id
  14. type :PATCH
  15. parameters:data.toString()
  16. headers:header
  17. connection:"workdrive_all"
  18. ];
  19. info response;
  20. return "";

The error is:
  1. {"errors":[{"id":"F6016","title":"URL Rule is not configured"}]}

Here is the data from the call to create the external link: