<?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 NetApp WFA API returning Internal Server Error (500) when Authenticated as Admin in Software Development Kit (SDK) and API Discussions</title>
    <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/NetApp-WFA-API-returning-Internal-Server-Error-500-when-Authenticated-as-Admin/m-p/138454#M2592</link>
    <description>&lt;P&gt;Hi folks,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have quite a strange problem. I try to get the XML structure from my WFA APIs by calling:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;https://my-wfaserver/rest/workflows/&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I authenticate as a user: wfa-operator (user with role: "&lt;STRONG&gt;Operator&lt;/STRONG&gt;") , It works all good, I get my response,&lt;/P&gt;
&lt;P&gt;However if I authenticate as user: wfa-admin ( user with Role: "&lt;STRONG&gt;Admin&lt;/STRONG&gt;" ), WFA doesn't give me any reply, and in wfa.log I see:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;2018-02-26 05:08:49,240 ERROR [com.netapp.wfa.rs.CommonExceptionMapper] (default task-17) REST service got exception, returning: Internal Server Error (500): javax.ejb.EJBTransactionRolledbackException&lt;BR /&gt;[...]&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It doesn't matter if my 'admin user' is an local account or domain authenticated, I hit the same issue (?).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;WFA version: 4.1.0.0.2&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thans in advance for all suggestions &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Interestingly enough, I'm able to call API to execute existing workflow or even retrieve the XML with details with URL&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;https://my-wfaserver/rest/workflows?name=my-workflow-name&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;This works fine for both Operator and Admin user.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;https://my-wfaserver/rest/workflows/&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Operator user works fine, Admin user return 500 Error - listed above. Any ideas why? &lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 13:59:28 GMT</pubDate>
    <dc:creator>tomekp</dc:creator>
    <dc:date>2025-06-04T13:59:28Z</dc:date>
    <item>
      <title>NetApp WFA API returning Internal Server Error (500) when Authenticated as Admin</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/NetApp-WFA-API-returning-Internal-Server-Error-500-when-Authenticated-as-Admin/m-p/138454#M2592</link>
      <description>&lt;P&gt;Hi folks,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have quite a strange problem. I try to get the XML structure from my WFA APIs by calling:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;https://my-wfaserver/rest/workflows/&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I authenticate as a user: wfa-operator (user with role: "&lt;STRONG&gt;Operator&lt;/STRONG&gt;") , It works all good, I get my response,&lt;/P&gt;
&lt;P&gt;However if I authenticate as user: wfa-admin ( user with Role: "&lt;STRONG&gt;Admin&lt;/STRONG&gt;" ), WFA doesn't give me any reply, and in wfa.log I see:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;2018-02-26 05:08:49,240 ERROR [com.netapp.wfa.rs.CommonExceptionMapper] (default task-17) REST service got exception, returning: Internal Server Error (500): javax.ejb.EJBTransactionRolledbackException&lt;BR /&gt;[...]&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It doesn't matter if my 'admin user' is an local account or domain authenticated, I hit the same issue (?).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;WFA version: 4.1.0.0.2&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thans in advance for all suggestions &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Interestingly enough, I'm able to call API to execute existing workflow or even retrieve the XML with details with URL&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;https://my-wfaserver/rest/workflows?name=my-workflow-name&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;This works fine for both Operator and Admin user.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;https://my-wfaserver/rest/workflows/&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Operator user works fine, Admin user return 500 Error - listed above. Any ideas why? &lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 13:59:28 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/NetApp-WFA-API-returning-Internal-Server-Error-500-when-Authenticated-as-Admin/m-p/138454#M2592</guid>
      <dc:creator>tomekp</dc:creator>
      <dc:date>2025-06-04T13:59:28Z</dc:date>
    </item>
  </channel>
</rss>

