Software Development Kit (SDK) and API Discussions

NetApp WFA API returning Internal Server Error (500) when Authenticated as Admin

tomekp
1,703 Views

Hi folks,

 

I have quite a strange problem. I try to get the XML structure from my WFA APIs by calling:

 

https://my-wfaserver/rest/workflows/

 

If I authenticate as a user: wfa-operator (user with role: "Operator") , It works all good, I get my response,

However if I authenticate as user: wfa-admin ( user with Role: "Admin" ), WFA doesn't give me any reply, and in wfa.log I see:

 

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
[...]

 

It doesn't matter if my 'admin user' is an local account or domain authenticated, I hit the same issue (?).

 

WFA version: 4.1.0.0.2

 

Thans in advance for all suggestions 😉

 

Interestingly enough, I'm able to call API to execute existing workflow or even retrieve the XML with details with URL

 

 

https://my-wfaserver/rest/workflows?name=my-workflow-name

 This works fine for both Operator and Admin user.

 

https://my-wfaserver/rest/workflows/

 

Operator user works fine, Admin user return 500 Error - listed above. Any ideas why?

0 REPLIES 0
Public