Quantcast
Channel: Active questions tagged rest - Stack Overflow
Viewing all articles
Browse latest Browse all 4802

Getting User authority error (_ERR_USER_AUTHORITY) on handler databean mapping in WCS

$
0
0

I have created a REST handler which was mapped to a data bean.
And I am calling the databean using this method

executeConfigBasedBeanWithContext(dataBeanName, profileName, responseFormat,                typedProperty);

Now, on calling this handler, I am getting the below Exception:

EC_APPLICATION_EXCEPTION like The user does not have authority to execute this query (_ERR_USER_AUTHORITY).

But it was working for Admin users(wcsadmin) without any exception. Below is the REST Exception:

{"errors":[{"errorParameters":["com.xxxx.commerce.order.command.CodeDataBean"],"errorCode":"CWXFR0268E","errorKey":"NOT_AUTHORIZED_FOR_QUERY","errorMessage":"CWXFR0268E: You are not authorized to execute query: GET https://localhost/wcs/resources/store/10154/codedata"}]}

Am I missing anything here?


Viewing all articles
Browse latest Browse all 4802

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>