Access Splunk API by Python request, the response status code always 401.
I met this issue because of used default username password. Everything works well after I newed an account for API access.