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!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...