Audit export request end up with ERROR: 1801

76 views
Skip to first unread message

Kay

unread,
Mar 7, 2017, 8:33:20 AM3/7/17
to GAM for G Suite
Hi,

I get this at the moment:

$ gam audit export request kontakt@domain.com


ERROR
: 1801 - Invalid value 0

Similar to my own python script, where I use the REST API to request audit exports. There I get back 400 (bad request). But already since a week.

Ma current GAM version:

$ gam version
GAM
4.44.04 - https://github.com/taers232c/GAMADV-X
Ross Scroggs <ross.scroggs@gmail.com>
Python 2.7.12 64-bit final
google
-api-python-client 1.6.1
Linux-4.2.0-42-generic-x86_64-with-Ubuntu-16.04-xenial x86_64

Are there google API issues at the moment? Can anybody confirm?

Thanks
Kay

Ross Scroggs

unread,
Mar 7, 2017, 9:06:40 AM3/7/17
to google-ap...@googlegroups.com
Kay,

I'm seeing the same error. As there is no value 0 passed to the API, I suspect some issue at Google's side.

--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/7f4bb5b4-01d0-4ed8-a0d8-a0cd7b57d84c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ross Scroggs

unread,
Mar 7, 2017, 11:15:53 AM3/7/17
to google-ap...@googlegroups.com
Kay,

Here's a debug list you could pass on to Google.

send: u'POST https://apps-apis.google.com/a/feeds/compliance/audit/mail/export/DOMAIN.COM/testuser1 HTTP/1.1\r\nAccept-Encoding: identity\r\nHost: apps-apis.google.com\r\nGData-Version: 2.0\r\nContent-Length: 261\r\nContent-Type: application/atom+xml; charset=UTF-8\r\nAuthorization: Bearer BEARER\r\nUser-Agent: GAM 4.44.05 - https://github.com/taers232c/GAMADV-X / Ross Scroggs <ross.s...@gmail.com> / Python 2.7.13 final / Darwin-15.6.0-x86_64-i386-64bit x86_64 / GData-Python 2.0.14+20110902+custom_mods\r\n\r\n'

send: '<?xml version=\'1.0\' encoding=\'UTF-8\'?>\n<ns0:entry xmlns:ns0="http://www.w3.org/2005/Atom" xmlns:ns1="http://schemas.google.com/apps/2006"><ns1:property name="packageContent" value="FULL_MESSAGE" /><ns1:property name="includeDeleted" value="false" /></ns0:entry>'

reply: 'HTTP/1.1 400 Bad Request\r\n'

header: Content-Type: text/xml

header: Date: Tue, 07 Mar 2017 16:12:51 GMT

header: Expires: Tue, 07 Mar 2017 16:12:51 GMT

header: Cache-Control: private, max-age=0

header: X-Content-Type-Options: nosniff

header: X-Frame-Options: SAMEORIGIN

header: X-XSS-Protection: 1; mode=block

header: Server: GSE

header: Alt-Svc: quic=":443"; ma=2592000; v="36,35,34"

header: Accept-Ranges: none

header: Vary: Accept-Encoding

header: Transfer-Encoding: chunked

User: test...@DOMAIN.COM, Submit Failed: Invalid value 0


Ross

On Tue, Mar 7, 2017 at 6:06 AM, Ross Scroggs <ross.s...@gmail.com> wrote:
Kay,

I'm seeing the same error. As there is no value 0 passed to the API, I suspect some issue at Google's side.

On Mar 7, 2017, at 5:33 AM, 'Kay' via GAM for G Suite <google-apps-manager@googlegroups.com> wrote:

Hi,

I get this at the moment:

$ gam audit export request kontakt@domain.com


ERROR: 1801 - Invalid value 0

Similar to my own python script, where I use the REST API to request audit exports. There I get back 400 (bad request). But already since a week.

Ma current GAM version:

$ gam version
GAM 4.44.04 - https://github.com/taers232c/GAMADV-X
Ross Scroggs <ross.scroggs@gmail.com>
Python 2.7.12 64-bit final
google-api-python-client 1.6.1
Linux-4.2.0-42-generic-x86_64-with-Ubuntu-16.04-xenial x86_64

Are there google API issues at the moment? Can anybody confirm?

Thanks
Kay

--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.
To post to this group, send email to google-apps-manager@googlegroups.com.




--

Jay Lee

unread,
Mar 7, 2017, 2:28:44 PM3/7/17
to google-ap...@googlegroups.com
Can someone test and see if the error still shows? I've gotten word it may be fixed.

Jay

To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsubscribe...@googlegroups.com.




--

--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.
To post to this group, send email to google-apps-manager@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.

Ross Scroggs

unread,
Mar 7, 2017, 2:31:50 PM3/7/17
to google-ap...@googlegroups.com
Jay,

Still fails for me.

Do you want any debugging info?

Ross

--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.
To post to this group, send email to google-apps-manager@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.

For more options, visit https://groups.google.com/d/optout.



--

Jay Lee

unread,
Mar 7, 2017, 2:33:16 PM3/7/17
to google-ap...@googlegroups.com
Thanks Ross, no logs needed. 

Jay




--

--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.
To post to this group, send email to google-apps-manager@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.

Kay

unread,
Mar 7, 2017, 2:54:31 PM3/7/17
to GAM for G Suite
Still fails for me to. :-(
Google support contacted, they requested some info which I will provide now...

Jay Lee

unread,
Mar 7, 2017, 5:23:18 PM3/7/17
to google-ap...@googlegroups.com
Thanks, can you try again now?

On Mar 7, 2017 11:54 AM, "'Kay' via GAM for G Suite" <google-ap...@googlegroups.com> wrote:
Still fails for me to. :-(
Google support contacted, they requested some info which I will provide now...

--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.
To post to this group, send email to google-apps-manager@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.

Ross Scroggs

unread,
Mar 7, 2017, 5:36:46 PM3/7/17
to google-ap...@googlegroups.com
Jay,

Works for me now. Thanks for the help.

Ross

On Tue, Mar 7, 2017 at 2:23 PM, Jay Lee <jay...@gmail.com> wrote:
Thanks, can you try again now?
On Mar 7, 2017 11:54 AM, "'Kay' via GAM for G Suite" <google-apps-manager@googlegroups.com> wrote:
Still fails for me to. :-(
Google support contacted, they requested some info which I will provide now...

--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsubscribe...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.
To post to this group, send email to google-apps-manager@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.

For more options, visit https://groups.google.com/d/optout.



--

Kay

unread,
Mar 8, 2017, 2:51:29 AM3/8/17
to GAM for G Suite
Works.

Thanks guys! :-)

Kay
Reply all
Reply to author
Forward
0 new messages