A user needed to create a collection via the REST API but was unable to authenticate and manage collections using curl command.
curl -k -u "<username>:<password>" https://<stackname>.splunkcloud.com:8089/servicesNS/nobody/search/configs/conf-collections -d name=<collection name>
Although this user had the correct roles and REST API permissions, API requests consistently returned unauthorized errors. The problem affected only certain users and did not occur for admin or test users with the same roles.

Below steps were followed to diagnose the issue:
- Reviewed the affected user's role assignments and REST API permissions.
- Confirmed if the REST API operations work properly for admin users.
- Tested the same API calls on internal Splunk instances with the same version. The curl command worked as expected.

Upon further investigation, it was observed that only users with passwords containing multiple special characters are impacted.
- Splunk does not limit the use of special characters in passwords, but command-line tools like Command Prompt or PowerShell might misinterpret them as shell commands, leading to authentication failures when using curl or similar tools.
- The issue was resolved by setting the affected user's password to exclude multiple special characters.
| Revision | Publish Date | Comments |
|---|---|---|
1.0 |
01-Oct-2026
|
Initial Release |