Forum Discussion
Matt_Phelps_142
Altocumulus
Oct 20, 2017Getting a 401 only on select REST calls (token auth)
I am probably doing something stupid, but I keep getting 401s when making REST calls to our v13 BIG-IP devices. What is weird is that the same exact token works fine when sending GETs, but POSTs/PUTs...
- Apr 20, 2018
Figured this out a little while ago and it has to do with the loginProviderName in the JSON object sent. When setting
"loginProviderName": "tmos"
against a BIG-IQ, this will fail hard, so I had removed this property from the login request object in a shared function I was using. Eliminating this property will allow token generation from a BIG-IP with read privileges, but will not allow writing.
amintej
Cirrus
Oct 23, 2017Ok,in my environment is working ok. The 401 error messages is "X-F5-Auth-Token does not exist"
This is the error I got when send an incorrect token.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects