I used my email to create Thingworx user when I use reset password function and Thingworx return 500 error
500 Unexpected Error - Contact your system administrator for more details
with the above link, I can reset the password normally when userId like vanxuanbinhan01(not email pattern are OK)
Thingworx Error logs:
2020-05-04 01:22:21.412-0500 [L: ERROR] [O: E.c.t.s.f.ValidatingHttpRequest] [I: ] [U: ] [S: ] [T: http-nio-0.0.0.0-80-exec-6] Error occurred while validating HTTP parameter: thingworx-form-userid 2020-05-04 01:22:21.412-0500 [L: ERROR] [O: E.o.a.j.l.ResetPassword_jsp] [I: ] [U: ] [S: ] [T: http-nio-0.0.0.0-80-exec-6] [context: com.thingworx.webservices.context.HttpExecutionContext@71f54c7f][message: Not Authorized to Reset the Password] com.thingworx.common.exceptions.InvalidRequestException: Not Authorized to Reset the Password
at org.apache.jsp.login.ResetPassword_jsp._jspService(ResetPassword_jsp.java:210)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
Solved! Go to Solution.
Hi @vxba
This article might be helpful to refer https://www.ptc.com/en/support/article/CS297478
Thanks,
Vibhuti
Hi @vxba
This article might be helpful to refer https://www.ptc.com/en/support/article/CS297478
Thanks,
Vibhuti
Thanks @vangne ,
I have tried with this solution but it's not working for me.
I'm using Thingworx 7.4. Can you check if it works for Thingworx 7.4?
Hi @vangne
I made a little mistake in the config file.
after correct, the file it works great for me
Thanks for your support!