Mireye Earth returns structured JSON error objects for all 4xx and 5xx responses. Every error has anDocumentation Index
Fetch the complete documentation index at: https://www.mireye.ai/llms.txt
Use this file to discover all available pages before exploring further.
error code string and a message. When a field cannot be fetched during an otherwise successful request, the failure appears in partial_failures — not as an HTTP error — because the fields that did succeed are still returned.
4xx client errors
These errors indicate a problem with the request. Fix the input and retry.coord_out_of_bounds (400)
GET /v1/meta/fields under the us_envelope key.
fields_unknown (400)
GET /v1/meta/fields to get the full list of valid names. Common mistakes:
elevation_m→elevation(no unit suffix in the name)flood_zone→within_floodplain_polygon(use the full predicate name)slope→slope_degrees(unit suffix is required)
fields_too_many (400)
fields, check the preset expansion in GET /v1/meta/fields to see how many fields it contributes.
no_fields_requested (400)
/v1/fetch without including either a fields array or a preset string.
Fix: Add at least one of fields or preset to the request body.
5xx server errors
internal (500)
request_id value when reporting the issue. This ID maps to a server-side log line that contains the full stack trace and the input that triggered the error.
Partial failures (in 200 responses)
A 200 response from/v1/fetch or /v1/ask can still contain failed fields. When any individual source is unavailable or returns no data at your coordinate, those fields appear in partial_failures rather than causing the whole request to fail.
- If
retryable: true, the source was temporarily unavailable. Retry the request for that field after a brief delay. - If
retryable: false, the source returned a permanent error — for example, the coordinate has no coverage for that field. Retrying will not help.
X-Request-ID header
Every response — success and error — includes anX-Request-ID header. If you supply your own X-Request-ID header in a request, Mireye echoes it back unchanged. If you do not supply one, Mireye generates one for you.
Use this header to correlate log lines across your application and Mireye’s server logs. When reporting a 500 internal error, always include:
- The
X-Request-IDvalue from the response. - The request body (sanitize any sensitive data).
- The approximate UTC timestamp of the request.