missing_bodyHTTP 400invalid_request_errorA body was required and none arrived
The endpoint takes a JSON body and the request had none — often a client that dropped the body while following a redirect, or a POST sent with no -d.
What to doSend the body, with Content-Type: application/json. Note that requests to this API are never redirected, so a body lost to a redirect means the URL is wrong.
payload_too_largeHTTP 413invalid_request_errorThe request body is too large
JSON request bodies are capped at 1 MiB so one request cannot exhaust an API worker's memory.
What to doSplit bulk work into smaller requests. Sensor reading arrays already have a lower per-request item limit documented on that endpoint.
invalid_jsonHTTP 400invalid_request_errorThe body is not JSON
The body could not be parsed. Usually a trailing comma, a single-quoted string, or shell interpolation that mangled the payload.
What to doValidate the payload as JSON before sending it.
invalid_bodyHTTP 400invalid_request_errorThe body failed validation
The JSON parsed but does not match the endpoint's schema. param names the first offending field and issues[] lists up to 20 problems with their paths.
What to doFix the fields named in issues[]. The schema for every endpoint is in the OpenAPI document.
invalid_queryHTTP 400invalid_request_errorA query parameter failed validation
One or more query parameters are the wrong type or outside the allowed set. param names the first one.
What to doCheck the parameter against the endpoint's documented values.
method_not_allowedHTTP 405invalid_request_errorThat method is not supported here
The path exists but not for this method. The response carries an Allow header and the same list as allowed_methods.
What to doUse one of the allowed methods. Note this API has no PUT: updates are partial and go through PATCH.
resource_not_foundHTTP 404not_found_errorNo such object — or not yours
Either the object does not exist, or it exists in another account. These are deliberately the same answer: distinguishing them would turn any id into a way to test what other accounts hold.
What to doCheck the id. If the path itself is wrong, compare it against the OpenAPI document — a 404 whose message mentions no route matching is a path problem, not a data problem.