Field-Viewer API

All errors

auth.second_factor_required

This account requires its second factor to sign in

HTTP status
403
Problem type
https://api.field-viewer.com/problems/auth.second_factor_required
Catalogue
Domain-specific

What it means

This account requires its second factor to sign in.

What to do

The caller is not allowed to do this. Retrying with the same credential will not help.

Example response

Errors use RFC 9457 application/problem+json. Match on code (stable forever), not on title or detail, which are localised.

HTTP/1.1 403
Content-Type: application/problem+json

{
  "type": "https://api.field-viewer.com/problems/auth.second_factor_required",
  "title": "This account requires its second factor to sign in",
  "status": 403,
  "detail": "This account requires its second factor to sign in",
  "instance": "/v1/auth/email-sign-in/verify",
  "code": "auth.second_factor_required",
  "requestId": "req_01jcz3k8m4f6a9t2x7v5q0wbne"
}

Returned by

OperationRequestSummary
verifyEmailSignInCodePOST /v1/auth/email-sign-in/verifyVerify a sign-in code and sign in