Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Issue:
<results status="failed" reason="Authorization failed" errno="13002"></results>
Code snippet
--
api = NaElement("system-cli")
xi = NaElement("priv","diag")
xi1 = NaElement("args")
xi1.child_add(NaElement("arg","version"))
api.child_add(xi1)
api.child_add(xi)
I am using user 'admin' with the following privileges on the admin vserver
--
security login show admin
Vserver: <admin vserver>
Authentication Acct
UserName Application Method Role Name Locked
---------------- ----------- -------------- ---------------- ------
admin console password admin no
admin http password admin no
admin ontapi password admin no
admin service-processor
password admin no
admin ssh password admin no
5 entries were displayed.
Solved! See The Solution
1 ACCEPTED SOLUTION
prasadkm0204 has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
copy/paste error. please ignore.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
To add. The username/password I am is correct since all the other apis work without issue.
I am facing this issue only while using the system-cli api.
-Prasad
prasadkm0204 has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
copy/paste error. please ignore.
