Fieldnode RPC APIs use Connect’s standard error model. For unary JSON requests, errors are returned as JSON with a Connect errorDocumentation Index
Fetch the complete documentation index at: https://developer.fieldnode.com/llms.txt
Use this file to discover all available pages before exploring further.
code and human-readable message.
Error JSON format
Typical error response:Fields
code- Machine-readable Connect error code insnake_case.message- Human-readable description of the failure.details- Optional structured error details.type: protobuf message type name.value: base64-encoded protobuf payload.
HTTP status and Connect code mapping
For unary Connect JSON responses, the HTTP status is derived from the Connect error code.| Connect code | HTTP status | Description |
|---|---|---|
invalid_argument | 400 | Request argument is invalid. |
failed_precondition | 400 | System state does not satisfy operation preconditions. |
out_of_range | 400 | Operation attempted past valid range. |
unauthenticated | 401 | Request is missing valid authentication credentials. |
permission_denied | 403 | Caller is authenticated but not allowed to perform the operation. |
not_found | 404 | Requested resource was not found. |
already_exists | 409 | Resource already exists. |
aborted | 409 | Operation aborted, commonly due to concurrency conflict. |
resource_exhausted | 429 | Resource limit or quota exhausted. |
canceled | 499 | Operation was canceled, typically by the caller. |
unknown | 500 | Unknown error. |
internal | 500 | Internal server error caused by broken invariants or unexpected failures. |
data_loss | 500 | Unrecoverable data loss or corruption. |
unimplemented | 501 | Operation is not implemented or not enabled. |
unavailable | 503 | Service is temporarily unavailable; retries may succeed. |
deadline_exceeded | 504 | Deadline expired before completion. |
Notes
- Use
codefor programmatic behavior (retry, prompt login, user messaging). - Treat
messageas informational; do not parse it for control flow. 499is used forcanceledand is not part of the standard HTTP status registry, but it is the Connect mapping for this code.