Field-Viewer API

All errors

workstation.pairing_code_invalid

This pairing code could not be used

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

What it means

This pairing code could not be used.

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/workstation.pairing_code_invalid",
  "title": "This pairing code could not be used",
  "status": 403,
  "detail": "This pairing code could not be used",
  "instance": "/v1/workstation-pairings/claim",
  "code": "workstation.pairing_code_invalid",
  "requestId": "req_01jcz3k8m4f6a9t2x7v5q0wbne"
}

Returned by

OperationRequestSummary
claimWorkstationPairingPOST /v1/workstation-pairings/claimPair this device as a workstation