All Apps and Add-ons

Input Add-On for G Suite : token refresh error

dillencehsu
Path Finder

Hi @alacercogitatus and everyone,
Can I ask a question for 「Input Add-On for G Suite」App ?

When I use 「Input Add-On for G Suite」 for collecting Google Drive log to Splunk, the error happened and input stopped. 

・Which version that I used, error always have.

・The error always happen after 24 hours of Credential created.
  Once I created new credential, the input can input google drive data normally, when 24 hours past the error will happen and input will stop. 

 

・token refresh error in Splunk 7.3 + Input Add-On for G Suite 1.3.1

{"log_level": "ERROR", "timestamp": "Sun, 20 Jun 2021 03:09:38 +0000", "errors": [{"filename": "GoogleAppsForSplunkModularInput.py", "msg": "invalid_grant: reauth related error (invalid_rapt)", "input_name": "ga://Google_Drive_Input_1", "line": 416, "exception_arguments": "invalid_grant: reauth related error (invalid_rapt)", "exception_type": "HttpAccessTokenRefreshError"}], "modular_input_consumption_time": "Sun, 20 Jun 2021 03:09:38 +0000"}

 


・token refresh error in Splunk 8.1 + Input Add-On for G Suite 1.4.2

{"timestamp": "Mon, 21 Jun 2021 04:39:34 +0000", "log_level": "ERROR", "errors": [{"msg": "('invalid_grant: reauth related error (invalid_rapt)', '{\\n  \"error\": \"invalid_grant\",\\n  \"error_description\": \"reauth related error (invalid_rapt)\",\\n  \"error_subtype\": \"invalid_rapt\"\\n}')", "exception_type": "<class 'google.auth.exceptions.RefreshError'>", "exception_arguments": "('invalid_grant: reauth related error (invalid_rapt)', '{\\n  \"error\": \"invalid_grant\",\\n  \"error_description\": \"reauth related error (invalid_rapt)\",\\n  \"error_subtype\": \"invalid_rapt\"\\n}')", "filename": "GoogleAppsForSplunkModularInput.py", "line": 490, "input_name": "ga://Google_Drive_Input_1"}], "modular_input_consumption_time": "Mon, 21 Jun 2021 04:39:34 +0000"}

 

What's happened and how to solve it ? 
Thanks a lot.

Labels (1)
0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Persistent Queue at TcpOut — One of Splunk's Most Practical Features

Splunk introduced persistent queueing at the tcpout layer as one of the most practical resilience features in ...

Skip the Awkward Silence: Have a .conf-ersation at .conf26

Picture this. You arrive at .conf26 already having your socializing and networking plans mapped out. No ...

Rethinking Zero Trust: From Product Purchases to Logical Control Evidence

Implementing Zero Trust (ZT) across complex environments often falters at the very beginning due to a ...