Support Topics Documentation Slack YouTube Blog

"User requests password recovery by link" page returns "404. File not found."

I have a email template for password recovery, but when the user click the link the page returns “404. File not found.”

Any idea?

Hello @Dario_Castaneda,

We will be happy to assist you. I need to ask you a few more questions so I can understand the problem better. Please describe the steps how to reproduce the issue and provide your application id.

Hi @sergey.kuk

I have an email template in Messaging - Email section in my app.

From JS SDK I call the Backendless.UserService.restorePassword function, and the user receives the email (based on the template) with the link to reset the password. The link provided in the email is the following:

But when the user click the link, receives a text with the message: “404. File not found”:

Hello @Dario_Castaneda

Have you removed any files / folders from the Web directory?
Templates for the pages are located along this path:

I can suggest that you copy this folder from another application and paste it into the Web directory.


Hi @Inna_Shkolnaya

I’ve copied all files and subfolders as you suggested, but I’m still getting the same error, It’s necessary do something else?

You didn’t copy all the content the directory.
Create the new app and check the content of 'change_password' dir.

Thank you @oleg-vyalyh ,

The page is showing now, but I got the following error when the save button is pressed:

Backendless encountered an error while handling the request. An internal trouble ticket with ID 4CCDE8E4-AA5D-376B-FF4B-66CE6CC14A00 has been created and we will be investigating the issue. class com.backendless.persistence.JsonDTO cannot be cast to class java.util.Map (com.backendless.persistence.JsonDTO is in unnamed module of loader 'app'; java.util.Map is in module java.base of loader 'bootstrap') java.lang.ClassCastException: class com.backendless.persistence.JsonDTO cannot be cast to class java.util.Map (com.backendless.persistence.JsonDTO is in unnamed module of loader 'app'; java.util.Map is in module java.base of loader 'bootstrap') at at$convertObjectMapToJooqProperties$5( at java.base/$ForEachOp$OfRef.accept( at java.base/$2$1.accept( at java.base/java.util.HashMap$EntrySpliterator.forEachRemaining( at java.base/ at java.base/ at java.base/$ForEachOp.evaluateSequential( at java.base/$ForEachOp$OfRef.evaluateSequential( at java.base/ at java.base/ at at at at com.backendless.monitoring.PerformanceMonitoring.invoke( at org.jsr107.ri.annotations.guice.CacheRemoveEntryInterceptor.proceed( at org.jsr107.ri.annotations.guice.CacheRemoveEntryInterceptor.proceed( at org.jsr107.ri.annotations.AbstractCacheRemoveEntryInterceptor.cacheRemoveEntry( at org.jsr107.ri.annotations.guice.CacheRemoveEntryInterceptor.invoke( at at jdk.internal.reflect.GeneratedMethodAccessor612.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke( at java.base/java.lang.refl

Hello @Dario_Castaneda

could you please provide a fresh url for the recovering password?

Regards, Vlad

hi @vladimir-upirov


The internal ticket BKNDLSS-23203 has been created. We will notify you about any result here.

Regards, Vlad

hi @vladimir-upirov,

Any news?

Hi @Dario_Castaneda,

it’s already fixed and will be released very soon. I hope tomorrow.
We’ll let you know once it’s released.


Hi, @Dario_Castaneda

We’ve just updated our cloud servers with a fix for you. Please verify whether everything works fine now.


Hi @Marina.Rudenko

It’s working now, thanks