I downloaded StarDeliveryAIAgent to test it out, but it's giving me an error, apparently a data type mismatch. Where can I fix this?OS-BERT-62000 - Failed to call AI model. Status code: BadRequest. The Amazon Bedrock AI model provider returned this message: "BedrockException - {"message":"The model returned the following errors: output_config.format.schema: For 'integer' type, properties maximum, minimum are not supported"}." (OS-ABRS-FM-40001)
You’re hitting a validation error coming from Amazon Bedrock because of how the Agent’s output schema is defined.
From the log:
“The 'integer' type in the 'output_config.format.schema' keyword does not support the 'maximum' and 'minimum' properties.”
So, somewhere in the Agent definition, an output field with type integer has minimum/maximum constraints configured. Bedrock doesn’t accept those constraints for integer fields in the schema, so the call fails before the model even runs.
integer
minimum
maximum
Open the Agent in Service Studio
CloneOfStarDeliveryAIAgentApp
CloneOfStarDeliveryAIAgent
Edit the Agent’s Output Format / Schema
"type": "integer"
"minimum": ...
"maximum": ...
Remove unsupported constraints You have three options:
Option A – Remove minimum and maximum (simplest)
type: "integer"
description
Option B – Change type to number
number
type
"integer"
"number"
Option C – Change to string and validate in logic
string
Publish and test again
PlayerEmail
PlayerGUID
This is not a mismatch between PlayerEmail / GUID and your entities – it’s the Agent’s Bedrock configuration rejecting the output schema before execution. As soon as Bedrock sees integer + minimum/maximum, it responds with BadRequest, which is what you see in the error log.
GUID
integer + minimum/maximum
Once you remove or adjust those constraints in the Agent’s output schema and republish, the Agent should run without this OS‑BERT‑62000 / OS‑ABRS‑FM‑40001 error.
If you can’t find the exact schema block, check all places where the Agent defines its “Expected Output” / “Structured Output” / “JSON Fields”; the problematic field will be one of the integer ones used there.