All Apps and Add-ons

splunk add on for office 365 sudden failure "TypeError: string indices must be integers"

tracieed_nord
Explorer

Add on was working fine for months. Recently stopped - no changes on Splunk side (that I am aware of). I suspect a change on the MS portal, but I would expect more people would be seeing failures if that was the case so....

tail splunk_ta_o365_management_activity_nord_o365_DLP_All.log
File "/opt/splunk/etc/apps/splunk_ta_o365/bin/splunk_ta_o365/common/token.py", line 56, in auth
self.token = self._policy(self._resource, session)
File "/opt/splunk/etc/apps/splunk_ta_o365/bin/splunk_ta_o365/common/token.py", line 37, in __call
_
return self.portal.get_token_by_psk(self._client_id, self._client_secret, resource, session)
File "/opt/splunk/etc/apps/splunk_ta_o365/bin/splunk_ta_o365/common/portal.py", line 89, in get_token_by_psk
raise O365PortalError(response)
File "/opt/splunk/etc/apps/splunk_ta_o365/bin/splunk_ta_o365/common/portal.py", line 23, in __init
_
self._code = data['error']['code']
TypeError: string indices must be integers

Tags (1)
0 Karma
1 Solution

tracieed_nord
Explorer

Opened a case with Splunk support. Created a new client secret and events started flowing. This has happened multiple times and other customers have reported it as well. Splunk is investigating.

View solution in original post

cbright
Explorer

Did you get an answer to this?

0 Karma

tracieed_nord
Explorer

Opened a case with Splunk support. Created a new client secret and events started flowing. This has happened multiple times and other customers have reported it as well. Splunk is investigating.

andygerberkp
Explorer

This also seems to happen if your client secret is incorrect.

0 Karma

jeremyhagand61
Communicator

This worked for me.

0 Karma
Get Updates on the Splunk Community!

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...