cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

Cannot use reset password when Thingworx user is email

vxba
7-Bedrock

Cannot use reset password when Thingworx user is email

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

 

ex: https://myhost.com/Thingworx/FormLogin/reset/SLA?Summary=853342b5-44bf-4c5a-af08-f6089fdf08e7&thingworx-form-userid=vanxuanbinhan01@gmail.com

 

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)

1 ACCEPTED SOLUTION

Accepted Solutions
vangne
16-Pearl
(To:vxba)

Hi @vxba 

 

This article might be helpful to refer https://www.ptc.com/en/support/article/CS297478

 

Thanks,

Vibhuti 

View solution in original post

3 REPLIES 3
vangne
16-Pearl
(To:vxba)

Hi @vxba 

 

This article might be helpful to refer https://www.ptc.com/en/support/article/CS297478

 

Thanks,

Vibhuti 

vxba
7-Bedrock
(To:vangne)

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?

vxba
7-Bedrock
(To:vxba)

Hi @vangne 

I made a little mistake in the config file.

after correct, the file it works great for me

Thanks for your support!

Top Tags