I want to add categories to a catalog using hotfolder functionality of Hybris.
But while adding category using hotfolder at that time I am facing a issue for Interceptor written for checking current user. As hotfolder doesn't find any particular user that's why it shows me InterceptorException.
Can anybody knows how to execute this one with admin rights or anything where I can specify the user details for this execution.
Thanks in Advance.
P.S: Cannot paste code or anything else as working in security environment.
You have a couple of options. You can try to enable legacy mode on the import or you can try to set up a context where there is a current user.
What is your interceptor trying to achieve? Your solution depends on that really.