Frequent "user not found" error was seen in celery_worker_default.log for a splunk user which was already deleted in ES.
[pid: 3657] [12/Dec/2025 02:46:00] base_splunk_client.py:238 ERROR: Invalid response from Splunk for request id 81913c67-be63-4c7f-b07c-5ac17a14161b - code MC_0007: User testdelete not found
Traceback (most recent call last):
File "www/phantom_ui/ui/splunk_client/client/base_splunk_client.py/base_splunk_client.py", line 223, in translate_exceptions
File "www/phantom_ui/ui/splunk_client/client/base_splunk_client.py/base_splunk_client.py", line 172, in _request
File "/opt/phantom/usr/lib/platform/lib/python3.13/site-packages/requests/models.py", line 1026, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://<splunk-host>:8089/servicesNS/-/missioncontrol/v1/internal/authorization/user/testdelete?output_mode=json&count=30&offset=0
[pid: 3657] [12/Dec/2025 02:46:00] enterprise_security_user_manager.py:174 WARNING: Splunk auth client failed to fetch user info for user with id 31. HTTP error code 404
[pid: 3657] [12/Dec/2025 02:46:00] enterprise_security_user_manager.py:136 WARNING: Failed to fetch user info from Splunk for user with SOAR id 31: 404 Client Error: Not Found for url: https://<splunk-host>/servicesNS/-/missioncontrol/v1/internal/authorization/user/testdelete?output_mode=json&count=30&offset=0
[2025-12-12 02:46:00,279: WARNING/ForkPoolWorker-3] update_enterprise_security_users[afe82294-b8ab-4a60-aaad-dba1f8ccac2a]: Cannot fetch user from splunk since user does not exist. Setting prevent_login for user with id '31'. HTTP code 404
That celery_task "update_enterprise_security_users" owns following responsibilities:
1. provisioning SOAR users to mirror Splunk users in the paired SOAR+ES stacks.
2. keeping the SOAR users up to date (email, Full name, timezone, login status (prevent login or not).
3. updating the Splunk → SOAR role mappings
After the user account got deleted in ES, this task on SOAR detected "user not found error" when attempting to retrieve the user information from splunk.
The error could be resolved by deleting the user from SOAR.
However, it is not allowed to delete splunk users in the SOAR UI.
It is supported to run REST call below to delete it from SOAR:
curl -L -X DELETE -u 'soar_local_admin:<password>' https://<SOAR-FQDN>/rest/ph_user/<UserId>
| Revision | Publish Date | Comments |
|---|---|---|
1.0 |
01-Oct-2026
|
Initial Release |