rohitg00/ai-engineering-from-scratch

Documented errors, page 2 of 5. Back to rohitg00/ai-engineering-from-scratch

Code / MessageTypeSeverityTags
every content block needs a type
exception error messages-api, content-blocks, validation, python
illegal transition ->
exception error
invalid JSON at character
validation error json, structured-output, llm-parsing, python
record root must be an object
validation error
resume() unsupported from state
exception error
secret name must be an uppercase environment variable
validation error
expected input_required result
exception error
maximum turn count exceeded
exception error
properties must be a dict
validation error
session emitted an error event
exception error
Invalid permutation for rank
validation error
neg_log_probs must be non-negative (did you forget the…
validation error
review_goal must be accepted with a string goal
validation error mcp, elicitation, user-input, validation
benchmark root must be an object
validation error
unknown op
validation error
minLength must be a non-negative integer
validation error
seq_len exceeds max_context_length
validation error
sim must be square (N, N), got
validation error
unsupported schema keywords
validation error
state secret must not be empty
exception error
prompt must not be empty
exception error vision, multimodal, argument-validation, python
slice read produced tokens, expected
exception error
score for / not in [0,1]
validation error
sequence length exceeds context length
validation error
unexpected Messages API response contract
validation error
demo transcript is missing inputRequired.requestState
validation error
Index out of range for axis with size
exception error
uncertainFallback is required
validation error
d_model ( ) must be divisible by num_heads ( )
validation error
Gamma shape parameter must be positive
validation error
invalid value for
validation error
n, c >= 0 and k > 0
validation error
required secret is not configured
exception error
tool_use requires a non-empty id
exception error
-32600
Invalid Request
error_code error json-rpc, typescript, mcp, validation
-32603
query must be a non-empty string
validation error mcp, tool-arguments, validation
unsupported stop_reason
exception error
neg_log_probs and token_counts must align
validation error
sibling module not found
exception error
enum must be a list
validation error
image_size and patch_size must be positive, got
validation error
model script exhausted
exception error
agent.message content must be a list
exception error
batch size must be positive
exception error batching, argument-validation, python
Expected indices, got
exception error
Messages API returned HTTP
exception error
inputResponses contain invalid roots or sampling results
validation error mcp, roots, sampling, validation
invalid response correlation
exception error
expected JSON-RPC error response is missing
validation error
Matrix is singular, no inverse exists
validation error
evaluation plan requires cases and releaseGates
validation error
JSON-RPC error requires integer code and string message
validation error
os.system denied
exception error
rule has bad severity
validation error
token_embedding must be a TokenEmbedding
exception error
unexpected fields
validation error
unknown token id
exception error
every event needs a type
exception error
handoff must expose approve, revise, reject, and escalate
validation error
empty fixture corpus
validation error
event arrived after message_stop
exception error streaming, messages-api, event-order, python
feature dim != d_model
validation error
max_len must be >= 3 to fit INST, RESP, and one response…
validation error
releaseGates.forbiddenEffects must be a list
validation error
d_model must be >= 1, got
validation error
stream ended without message_stop
exception error streaming, truncated-response, messages-api, python
LLM_MODEL= is not in the pricing registry (known: )
validation error
persisted events need a non-empty id
exception error
required must be list[str]
validation error
tool already registered; pass override=True to replace
validation error
rank cannot send to itself
validation error
reusable_file_id must not be empty
exception error file-upload, multimodal, argument-validation, python
Coordinator: agents must not be empty
exception error
sequence length exceeds context_length=
validation error
unknown metric_name
validation error
: proven-modern discovery retry returned an error
exception error mcp, rpc-error, discovery, retry
rule missing substring or regex
validation error
confidences and correct must have the same shape
validation error
constitution must be a mapping with a 'rules' key
validation error
JSON-RPC request has no response body
validation error
maxToolCallsPerCase must be a non-negative integer
validation error
unknown node
exception error
pattern must be a string
validation error
schema for must be numeric
validation error
bleu4 requires at least one reference
validation error
d_model must be divisible by num_heads
validation error
duplicate tool
validation error
invalidationRule is required
validation error
maximum turns exceeded
exception error
uncertainties must be a list
validation error
Unknown metric
validation error
d_model must be even, got
validation error
maxLength must be a non-negative integer
validation error
missing required fields
validation error
overlap_words must be between zero and max_words - 1
validation error
: malformed discovery response
exception error mcp, transport, response-shape, discovery
retrieved_per_query and gold_per_query must have the same…
validation error
unsupported stop reason
exception error
confidences must lie in [0, 1]
validation error
fixture unknown category
validation error