C
C#7mo ago
damnnn

Resending confirmation email results in "A failure has occurred" error

Hi. I'm encountering an error while trying to resend a confirmation email in my ASP.NET Core application. The error message I'm receiving is: { "type": "https://tools.ietf.org/html/rfc9110#section-15.6.1", "title": "A failure has occurred.", "status": 500, "traceId": "00-c71e0f8c6ac4b719b1fe02064c9d75e3-598ddc56be83a968-00", "errorCodes": "customValue" } I'm using MediatR for handling requests and responses. Here's the relevant code snippets When I debugged the code, I received the following error: ErrorOr { IsError = True, Errors = System.Collections.Generic.List1[ErrorOr.Error], ErrorsOrEmptyList = System.Collections.Generic.List1[ErrorOr.Error], Value = , FirstError = Error { Code = User email is not confirmed! Reasons: Invalid token., Description = A failure has occurred., Type = Failure, NumericType = 0, Metadata = } } It seems like there's an issue with the token or email confirmation process. How can I resolve this error and successfully resend the confirmation email? Thank you for your help!
IETF Datatracker
RFC 9110: HTTP Semantics
The Hypertext Transfer Protocol (HTTP) is a stateless application-level protocol for distributed, collaborative, hypertext information systems. This document describes the overall architecture of HTTP, establishes common terminology, and defines aspects of the protocol that are shared by all versions. In this definition are core protocol element...
No description
No description
No description
No description
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server