Skip to content

Document the reason an OTP email verification failed - #663

Merged
daveweir98 merged 2 commits into
mainfrom
daveweir/otp-verification-failure-reason
Sep 17, 2026
Merged

daveweir98 merged 2 commits into
mainfrom
daveweir/otp-verification-failure-reason

Conversation

@daveweir98

Copy link
Copy Markdown
Contributor

Why?

When Fin cannot verify a contact by one-time passcode email, the conversation records that the verification failed but not why. Anyone reading that conversation through the API cannot tell a contact with no email address apart from any other failure.

How?

Describes the data the failure event now carries in the Preview spec. The reason is a plain string, so a client that meets a reason it does not recognise can fall back to the event label.

Generated with Claude Code

Dave Weir and others added 2 commits September 11, 2026 11:03
Adds the reason Fin records when a one-time passcode email cannot verify
a contact, on the otp_email_verification_failed event of ai_agent_event
conversation parts in the Preview API.

Co-Authored-By: Claude Code <noreply@anthropic.com>
Co-Authored-By: Claude Code <noreply@anthropic.com>
@daveweir98
daveweir98 requested a review from a team September 17, 2026 09:20
@daveweir98
daveweir98 merged commit 42742ea into main Sep 17, 2026
3 checks passed
@daveweir98
daveweir98 deleted the daveweir/otp-verification-failure-reason branch September 17, 2026 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants