0

I am running into an issue when I try to delete sub organizations.

I get the following error (customer ID was removed)

Execution of request failed: https://apps-apis.google.com/a/feeds/orgunit/2.0/CustId/QA%2ftesting%2fmoar%2bgroups"}

I am using the Google Apps C# Library and calling it like this

OrgService.DeleteOrganizationUnit(customerID, "QA/testing/moar+groups");

The response body is "1301: Entity Does not exist"

I am taking the path directly from the feed to get all the organizations and passing it into delete and it is still failing... any idea what is going on here?

Roloc
  • 1,910
  • 2
  • 13
  • 16

1 Answers1

0

Is the name of the OU "QA/testing/moar+groups" or is it "QA/testing/moar groups"? You should be passing the true name of the OU to the library, it should take care of URL encoding it.

Jay Lee
  • 13,415
  • 3
  • 28
  • 59
  • It actually looks like that is the issue... it is encoding the slashes, which isn't supposed to happen. I tested this by going into the code in https://code.google.com/p/google-gdata/ and removing the encoding that was happening after and getting it to delete. The slashes should not be encoded – Roloc May 08 '13 at 21:21