Unsolved
2 Posts
0
2891
July 5th, 2021 13:00
API error "Authorization required"
Setup a lab using the simulator for onefs 9.2.0.0. Created a user and gave it the roles Platform API Read Only and Quota Read/Write.
And in order to test it I just wanted to get a test quota so I ran.
curl -k --user username:password -X GET https://192.168.x.x:8080/platform/quota/quotas.
And then receive error message "Authorization required". This works in production fine. Won't work on the lab.



Phil.Lam
3 Apprentice
•
625 Posts
0
July 6th, 2021 11:00
@bilkinger,
HTH:
https://www.dell.com/community/Isilon/API-Auth-Changes-with-Recent-Security-Patches-anti-CSRF-token/td-p/7170612
bilkinger
2 Posts
0
July 6th, 2021 13:00
I saw that article and actually didn't think it would apply in this case since running something like what I stated above just works.
I'll look at this tonight. I appreciate the response
Phil.Lam
3 Apprentice
•
625 Posts
0
July 9th, 2021 14:00
@bilkinger
What OneFS is production cluser?
vamsyreddy
1 Message
0
April 28th, 2022 13:00
I exactly have the same issue. Did you ever figure this out?
DELL-Josh Cr
Moderator
•
9.4K Posts
1
April 28th, 2022 13:00
Hi,
Thanks for your question about the OneFS API error. Try the command “isi_gconfig -t web-config auth_basic=true” This document may also have something that will help. https://dell.to/3y4QrYf
Let us know if you have any additional questions.
Phil.Lam
3 Apprentice
•
625 Posts
0
May 10th, 2022 14:00
@vamsyreddy,
Make sure you use IPs in System zone.