<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ActiveIQ Unified Manager API Calls are failing  ErrorError 401 - Unauthorized in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/ActiveIQ-Unified-Manager-API-Calls-are-failing-ErrorError-401-Unauthorized/m-p/445560#M28491</link>
    <description>&lt;P&gt;Thankyou John,&lt;/P&gt;&lt;P&gt;I was able to figure it out by myself, after posting here it was due to the SSL certificate the page was throwing&amp;nbsp;&lt;SPAN&gt;Error 401 - Unauthorized&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 26 Jun 2023 14:19:58 GMT</pubDate>
    <dc:creator>sudhir30</dc:creator>
    <dc:date>2023-06-26T14:19:58Z</dc:date>
    <item>
      <title>ActiveIQ Unified Manager API Calls are failing  ErrorError 401 - Unauthorized</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/ActiveIQ-Unified-Manager-API-Calls-are-failing-ErrorError-401-Unauthorized/m-p/445516#M28486</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;We are trying to access the unified manager API using the powershell, On the swagger page all is working as expected but when trying to call or open the uri links, we are receiving below errors.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt; $url = "https://&amp;lt;IP-Address&amp;gt;/api/datacenter"&lt;/P&gt;&lt;P&gt;&amp;gt; $result = Invoke-RestMethod -Method 'GET' -Uri $url -header $header -Credential $cred -ContentType "application/JSON"&lt;BR /&gt;Invoke-RestMethod : Active IQ Unified Manager | ErrorError 401 - UnauthorizedPlease go back to the homepage and try again.&lt;BR /&gt;At line:1 char:11&lt;BR /&gt;+ $result = Invoke-RestMethod -Method 'GET' -Uri $url -header $header - ...&lt;BR /&gt;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException&lt;BR /&gt;+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand&lt;/P&gt;&lt;P&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Powershell Version:&lt;/P&gt;&lt;P&gt;--------------------------&lt;/P&gt;&lt;P&gt;Name : Windows PowerShell ISE Host&lt;BR /&gt;Version : 5.1.19041.2673&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ActiveIQ Unified Manager:&lt;/P&gt;&lt;P&gt;-----------------------------------&lt;/P&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;Version: 9.9&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;Please let me know what could be the issue, credential are local database admin credentials.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 04 Jun 2025 09:47:36 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/ActiveIQ-Unified-Manager-API-Calls-are-failing-ErrorError-401-Unauthorized/m-p/445516#M28486</guid>
      <dc:creator>sudhir30</dc:creator>
      <dc:date>2025-06-04T09:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: ActiveIQ Unified Manager API Calls are failing  ErrorError 401 - Unauthorized</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/ActiveIQ-Unified-Manager-API-Calls-are-failing-ErrorError-401-Unauthorized/m-p/445517#M28487</link>
      <description>&lt;P&gt;Looking at the HTTP status code 401, it suggest - Unauthorized request&lt;BR /&gt;&lt;A href="https://docs.netapp.com/us-en/active-iq-unified-manager-99/api-automation/reference-authentication-errors.html" target="_blank"&gt;https://docs.netapp.com/us-en/active-iq-unified-manager-99/api-automation/reference-authentication-errors.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not sure what is the exact requirement for API access but - Is the user exits in the AIUM with "Application Administrator" role? You could try to create one for accessing APIs.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jun 2023 15:42:21 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/ActiveIQ-Unified-Manager-API-Calls-are-failing-ErrorError-401-Unauthorized/m-p/445517#M28487</guid>
      <dc:creator>Ontapforrum</dc:creator>
      <dc:date>2023-06-23T15:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: ActiveIQ Unified Manager API Calls are failing  ErrorError 401 - Unauthorized</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/ActiveIQ-Unified-Manager-API-Calls-are-failing-ErrorError-401-Unauthorized/m-p/445559#M28490</link>
      <description>&lt;P&gt;For AIQUM, authentication is passed in the header of the request, not as a credential.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;# Generate Authorization Header
$umInfo   = "$um_login_account`:$um_login_password"
$umInfo   = [System.Text.Encoding]::UTF8.GetBytes($umInfo)
$umInfo   = [System.Convert]::ToBase64String($umInfo)
$umHeader = @{ 'Authorization' = ("Basic {0}" -f $umInfo); 'Content-Type' = 'application/json' }&lt;/LI-CODE&gt;&lt;P&gt;...and Invoke-RestMethod...&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;$um_result = Invoke-RestMethod -Method Get -Uri $um_gw_url -Headers $umHeader -SkipCertificateCheck -ErrorAction Stop&lt;/LI-CODE&gt;&lt;P&gt;(This is in PowerShell v7 so if you're using v5 remove the -SkipCertificateCheck and do the 'self-signed certificate hack')&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2023 14:13:52 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/ActiveIQ-Unified-Manager-API-Calls-are-failing-ErrorError-401-Unauthorized/m-p/445559#M28490</guid>
      <dc:creator>JohnChampion</dc:creator>
      <dc:date>2023-06-26T14:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: ActiveIQ Unified Manager API Calls are failing  ErrorError 401 - Unauthorized</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/ActiveIQ-Unified-Manager-API-Calls-are-failing-ErrorError-401-Unauthorized/m-p/445560#M28491</link>
      <description>&lt;P&gt;Thankyou John,&lt;/P&gt;&lt;P&gt;I was able to figure it out by myself, after posting here it was due to the SSL certificate the page was throwing&amp;nbsp;&lt;SPAN&gt;Error 401 - Unauthorized&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2023 14:19:58 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/ActiveIQ-Unified-Manager-API-Calls-are-failing-ErrorError-401-Unauthorized/m-p/445560#M28491</guid>
      <dc:creator>sudhir30</dc:creator>
      <dc:date>2023-06-26T14:19:58Z</dc:date>
    </item>
  </channel>
</rss>

