Email confirmation link not working

I have built an android app with your backendless api. I’m using user service api for user registration where I require the user to confirm his/her email for registration.

However, when someone clicks on the link in the received email an error is encountered.
I personally test this and I got this error:

{“code”:8002,“message”:“Could not parse request with message: , status code 404, headers GET /api/B952A98C-3AF8-0E07-FF8A-0E72F029D000/305A9BD1-5CD1-4579-A4FD-F55A3B73E50A/users/confirmation”,“errorData”:{}}

link was (my custom domain:

Email confirmation was working before and I didin’t change anything. I’m wondering why it’s not working now. I tested further and it seems that the link should not have “/api/” part in the path:


Hello, @Amir_Sarraf .

We were able to reproduce your problem.
The internal ticket BKNDLSS-20225 is created, we will let you know about solution.


Hi @Amir_Sarraf,

I noticed the custom domain mapped to your application is (and not I registered myself as a test user to see if I can reproduce the problem, however, the email has not arrived yet. I see you’re using your own email server. Could you please check if an email to has been sent?


thanks for your support. maybe it’s in your spam folder because my email service says it’s delivered.
I deleted your account so you could test it again.

Hello @Amir_Sarraf

The issue with status code 404 has been fixed.
But there is another problem somewhere on your side

I just register a new user in your app and got an confirmation email with link

link text:

link url:

on click at this url you are redirected twice

the end location is:

as you can see the confirmation key must be 9241A3CE-90FF-4973-AD03-10F58D178B44 but it is 305A9BD1-5CD1-4579-A4FD-F55A3B73E50A

btw, this is exactly the same url as you have at the top of this topic

So, I guess there maybe some kind of cache, could you check it please.
If you just copy the url (text) and paste into web browser the email will be confirmed.

Regards, Vlad

Thanks, Great work!
The problem seems to be solved!
I’ll check sendgrid settings and inform you about the result.

Regarding this issue for email confirmation, I had to run my own smtp server and I get rid off that Sendgrid smtp server.
Still, when I use email confirmation, the generated link would redirect the user through Sendgrid server.
For example:
Actual link (correct one):

Link displayed to the user:
which uses Sendgrid.
Do you use Sendgrid for link generation. I don’t know where that comes from. Email confirmation always fails by clicking the link because it’s routed through Sendgrid and the same address is always reached which is:

here is my smtp log:
Jun 3 14:14:10 ubuntu-19-dnd postfix/submissio/smtpd[19704]: connect from[]
Jun 3 14:14:11 ubuntu-19-dnd postfix/submissio/smtpd[19704]: 478EB402B4:[], sasl_method=LOGIN, sasl_username=info
Jun 3 14:14:11 ubuntu-19-dnd postfix/cleanup[19709]: 478EB402B4: message-id=198328533.41.1591186450694@bl-taskman-7f96c8c655-6m4jl
Jun 3 14:14:11 ubuntu-19-dnd postfix/qmgr[19683]: 478EB402B4:, size=3203, nrcpt=1 (queue active)
Jun 3 14:14:11 ubuntu-19-dnd postfix/submissio/smtpd[19704]: disconnect from[] ehlo=2 starttls=1 auth=1 mail=1 rcpt=1 data=1 quit=1 commands=8
Jun 3 14:14:17 ubuntu-19-dnd postfix/smtp[19710]: 478EB402B4:,[]:25, delay=6.6, delays=0.16/0.02/0.3/6.2, dsn=2.0.0, status=sent (250 ok dirdel)
Jun 3 14:14:17 ubuntu-19-dnd postfix/qmgr[19683]: 478EB402B4: removed

Hi @Amir_Sarraf,

We’ll take a look and back to you as soon as possible.

Best regards,


Please, check variable {confirmation_url} in your “Confirmation template” (Messaging > Emails).

Best regards,

Hello @Amir_Sarraf

I guess Sendgrid wraps all the links in emails for tracking clicks

Regards, Vlad

yea, but i don’t use Sendgrid anymore; however, I still see Sendgrid is wrapping my links!? :frowning:


this url is hardcoded in variable {confirmation_url} in your “Confirmation template”. Please, edit the variable and add another value that you need.

I finally figured it out. {confirmation_url} was set to a fixed value.
after enabling/disabling the email confirmation, it worked.

Many thanks!