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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...