Troubleshooting evaluations
StartEvaluation returns AccessDeniedException that names an action. The caller lacks that action. Grant it as shown in Permissions for evaluations, and then try again. If the message says that the account or Region isn’t enabled, evaluation isn’t available there.
StartEvaluation returns AccessDeniedException about the legacy experience of trusted identity propagation. Your IAM Identity Center instance uses the legacy experience, and the Agent Context has an AWS Glue Data Catalog connection. Turn on simplified trusted identity propagation in IAM Identity Center, and then sign in again.
StartEvaluation returns ValidationException. The evaluation set breaks a limit in Evaluation set limits, or a scenario has an empty query or empty ground truth. The same error appears for an Agent Context with a third-party connection, such as Snowflake or Databricks. Fix the set, or evaluate an Agent Context without third-party connections.
StartEvaluation returns ServiceQuotaExceededException. The account already has 3 evaluations in progress in this Region, so wait for one to end. If the message names a log group, the account has reached its CloudWatch Logs log group quota, so delete unused log groups or request a quota increase. Then try again.
Many scenarios are unanswered. The questions are too broad to answer within the retrieval time budget. Narrow them, and verify that the Agent Context contains the data they ask about.
Different callers get different scores. The evaluation reads with the caller’s identity. A caller without a trusted identity sees only the public part of content with access control. For a source that a connection reads without a data access role, the caller’s own permissions decide what comes back. Run the evaluation as a caller with the access your agents have.
The evaluation ends as FAILED.
AWS Context doesn’t report why. Check that the caller still has the permissions in Permissions for evaluations, that the Agent Context is active, and that the account hasn’t reached its Amazon Bedrock AgentCore batch evaluation quotas. If the set is large, split it into smaller evaluations. Then start a new evaluation. For the quotas, see Quotas for Amazon Bedrock AgentCore in the Amazon Bedrock AgentCore Developer Guide.