Skip to content

Troubleshooting

SymptomLikely causeWhat to try
Operation not allowed / NOT_AUTHORIZEDQuotas at zero or model not authorized in regionCheck Bedrock Quotas; smoke Converse for Nova Lite + Ship Coach profile (AWS Deploy)
Region is missingNo AWS_REGION / AWS_DEFAULT_REGIONExport region before CLI / hook
Legacy Claude 3 Haiku denialUsing retired model IDPrefer Haiku 4.5 AU profile or Nova-only override
IAM Admin but still deniedQuotas / authorization, not IAMService Quotas request; Anthropic use-case / Marketplace may still apply

Heuristic-only (--local, fixtures, save hook) still works without Bedrock. Full-mode AI can over-flag docs — heuristics + docsPathAllowlist remain the reproducible baseline.

SymptomLikely causeWhat to try
SPA points at old APIVite bake-time envRe-run npm run deploy:amplify after CDK output changes
Cannot sign upSelf-sign-up disabledInvite via PR_READY_OWNER_EMAIL / admin-create-user
Stuck on temporary passwordFORCE_CHANGE_PASSWORDComplete SPA password change or admin-set-user-password --permanent

See Owner UI for invite and zip-deploy details.

SymptomLikely causeWhat to try
First deploy fails on assets / bootstrapAccount not bootstrappedcdk bootstrap once per account/region
s3:PutBucketPublicAccessBlock deniedHardened account SCPRetry bootstrap with --public-access-block-configuration false
Prefer not to use AdminAccess for CIDeploy role too wideUse the minimum deploy IAM policy (Deploy IAM Policy); bootstrap stays a one-time wider admin step
Lambda ESM bundling / CJS deps failMissing ESM output formatProduct stack uses OutputFormat.ESM + createRequire banner for some CJS deps — if you fork the CDK app, keep that bundling shape

API key value is never a stack output — retrieve once with get-api-key --include-value into GitHub Secrets only.

SymptomLikely causeWhat to try
Assume-role failsTrust not scoped to main / wrong repoFix OIDC sub — do not use repo:OWNER/REPO:* or *
PR comment is heuristic-onlyMissing PR_READY_API_* (or API non-200 / truncated diff)Set all four secrets after deploy; fork PRs never get secrets
Comment does not upsertMissing HTML markerBody must include <!-- pr-readiness-coach -->
Large PR / HTTP 504Diff size or API Gateway ~29s sync limitExpect local-heuristics fallback; raise awareness of 1 MB body limit
Deploy logs look redactedIntentionalFetch ApiUrl / key locally — public logs mask sensitive outputs

Setup order: deploy stack → set secrets → open PR (PR Comments).

SymptomLikely causeWhat to try
Missing credentials on Full hookEnv not inherited by Kiro processLaunch Kiro from a logged-in SSO shell
Hook missing from panelWrong schema or stale UIUse IDE when/then files (not CLI 3.0 hooks[]); reload window
Save hook too slowFull Bedrock on fileEditedKeep save path heuristic-only (30s); full mode is userTriggered
Fixture secrets trip the hookPaths not allowlistedUse testPathAllowlist in ready.yml for tests/** / fixtures/**

Hooks always exit 0 (warn-only). Do not claim Kiro runs inside GitHub Actions — see Kiro Hooks.