Email confirmation error

System Information
  • Strapi Version: 3.5.3
  • Operating System: Windows
  • Database: Postgres
  • Node Version: v14.17.4
  • Yarn Version: 1.22.5

Hello everyone! Im having a reall anoying problem with email confirmation. The email is received, but the link is “wrong”. Let me try to explain:
When I use the <%= URL %>?code=<%= CODE %> the link that I receive is something like this:
So I’ve tried to change for:<%= CODE %>
(this link is the back-end server URL).
With this second change I got an error:
“statusCode”: 400,
“error”: “Bad Request”,
“message”: “token.invalid”

I have the response and shipper fullfilled:

It is in portuguese, but is just to show that everything is filled.

I don’t know what to do anymore =(

If anyone could give me a light I’ll be really greatfull

Best regards,

Luca Agra

1 Like