Getting error while hitting Rest service from Ajax call

Hello Guys,

I have sent service, am hitting from that with Ajax call which is having form data.

While hitting am getting below error, could you please help us to reslove.

SASL configuration failed: javax.security.auth.login.LoginException: No JAAS configuration section named ‘Client’ was found in specified JAAS configuration file: ‘jar:file:/Users/testuser/Project/Data_Set/cmstests/target/tomcat8x/webapps/site/WEB-INF/lib/hst-security-5.6.5.jar!/org/hippoecm/hst/security/impl/login.conf’. Will continue connection to Zookeeper server without SASL authentication, if Zookeeper server allows it.

WARN http-nio-8080-exec-3 [WebApplicationExceptionMapper.toResponse:73] javax.ws.rs.ClientErrorException: HTTP 415 Unsupported Media Type

thanks & regards
Ganesh

it was due to authentication either you can create custom REST call and give all required auth tokens to pass.