input/max-results-exceeded
The result was larger than the --max-results byte
budget, so centrs returned this error instead of the output. For
retrieve nothing changed. For execute, the
command already ran on the router; only its output is withheld.
Emitted by
retrieve, execute and
execute --cmr (code).
Context
requiredBytes: the size of the full result.maxResultsBytes: the budget.command,path,objectCount: what produced it.
Fix
- Raise the budget to at least
requiredByteswith--max-results <bytes>. Dropping the flag is not enough when the budget also comes fromCENTRS_MAX_RESULTSorcentrs.env:centrs settings printshows where it is set, andcentrs settings reset max-resultsremoves the saved one. - Ask for less:
--attributesor a filter onretrieve, or a narrowerprintonexecute. - After an
executewrite, do not rerun it to see the output. Check the router's state with a read instead.