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
Get Updates on the Splunk Community!

Splunk at Cisco Live 2025: Learning, Innovation, and a Little Bit of Mr. Brightside

Pack your bags (and maybe your dancing shoes)—Cisco Live is heading to San Diego, June 8–12, 2025, and Splunk ...

Splunk App Dev Community Updates – What’s New and What’s Next

Welcome to your go-to roundup of everything happening in the Splunk App Dev Community! Whether you're building ...

The Latest Cisco Integrations With Splunk Platform!

Join us for an exciting tech talk where we’ll explore the latest integrations in Cisco + Splunk! We’ve ...