s6465456 / google-apps-shell

Automatically exported from code.google.com/p/google-apps-shell
0 stars 0 forks source link

<error errorCode="1301" invalidInput="suspended_list.csv" #13

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Same error everytime I run the suspend user
2. I can suspend users individually
3. Do I need a header in the csv
4. Users show up in the Master Template

Exception in Tkinter callback
Traceback (most recent call last):
  File "C:\Python27\lib\lib-tk\Tkinter.py", line 1410, in __call__
    return self.func(*args)
  File "C:\gasi\gasi.py", line 429, in RunExecute
    self.RunCommands(commands, master_template)
  File "C:\gasi\gasi.py", line 450, in RunCommands
    gas.execute(command_list[1:])
  File "C:\gasi\gas.py", line 923, in execute
    whitelist_functions[call_function](credential, **dictionary)
  File "C:\gasi\gas.py", line 373, in suspend_user
    credential.service.SuspendUser(user_name)
  File "C:\gasi\gdata\apps\service.py", line 401, in SuspendUser
    user_entry = self.RetrieveUser(user_name)
  File "C:\gasi\gdata\apps\service.py", line 428, in RetrieveUser
    raise AppsForYourDomainException(e.args[0])
AppsForYourDomainException: {'status': 400, 'body': '<?xml version="1.0" 
encoding="UTF-8"?>\r\n<AppsForYourDomainErrors>\r\n  <error errorCode="1301" 
invalidInput="suspended_list.csv" reason="EntityDoesNotExist" 
/>\r\n</AppsForYourDomainErrors>\r\n\r\n', 'reason': 'Bad Request'}
What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
v1.17 on windows 7

Please provide any additional information below.

Thanks,
Mike

Original issue reported on code.google.com by msco...@esdk12.org on 25 Aug 2011 at 2:44

GoogleCodeExporter commented 9 years ago
Can you please provide the CSV file you're using? (or some sanitized version 
that doesn't contain private info)

Also please provide what you're putting into the command box.

Thanks!

Original comment by dha...@google.com on 31 Aug 2011 at 5:28