11 pages for permissiondenied.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
java
Claude Developer Platform · in the page
cli-sdks-libraries/sdks/java
…| | 401 | `UnauthorizedException` | | 403 | `PermissionDeniedException` | | 404 | `NotFoundException` | | 422 | `UnprocessableEntityException` | | 429…
php
Claude Developer Platform · in the page
cli-sdks-libraries/sdks/php
…401 | `AuthenticationException` | | HTTP 403 | `PermissionDeniedException` | | HTTP 404 | `NotFoundException` | | HTTP 409 | `ConflictException`…
For Amazon Bedrock support
Claude Developer Platform · in the page
cli-sdks-libraries/sdks/python
…| | 401 | `AuthenticationError` | | 403 | `PermissionDeniedError` | | 404 | `NotFoundError` | | 409 | `ConflictError` | | 422…
Automatically handles tool execution loop
Claude Developer Platform · in the page
cli-sdks-libraries/sdks/ruby
…HTTP 401 | `AuthenticationError` | | HTTP 403 | `PermissionDeniedError` | | HTTP 404 | `NotFoundError` | | HTTP 409 | `ConflictError` | |…
typescript
Claude Developer Platform · in the page
cli-sdks-libraries/sdks/typescript
…| | 401 | `AuthenticationError` | | 403 | `PermissionDeniedError` | | 404 | `NotFoundError` | | 409 | `ConflictError` | | 422…
Intercept and control agent behavior with hooks
Claude Code CLI · in the page
agent-sdk/hooks
…ol call needs a permission decision | Custom permission handling | | `PermissionDenied` | No | Yes | Auto mode denies a tool call, including denials without a classifier verdict | Log denials, or tell…
Agent SDK reference - TypeScript
Claude Code CLI · in the page
agent-sdk/typescript
…essage | SDKRateLimitEvent | SDKElicitationCompleteMessage | SDKPermissionDeniedMessage | SDKPromptSuggestionMessage | SDKAPIRetryMessage | SDKMirrorErrorMessage | SDKInformationalMessag…
Configure auto mode
Claude Code CLI · in the page
auto-mode-config
…ok**: to capture the exact input of denials programmatically, add a [`PermissionDenied` hook](/docs/en/hooks#permissiondenied), which receives it as `tool_input`. * **Conversation**: find the tool cal…
Hooks reference
Claude Code CLI · in the page
hooks
…h Elicitation and ElicitationResult nested inside MCP tool execution, PermissionDenied as a side branch from PermissionRequest for auto-mode denials, WorktreeCreate, WorktreeRemove, Notification, Conf…
Automate actions with hooks
Claude Code CLI · in the page
hooks-guide
…ermissionRequest` | When a tool call needs a permission decision | | `PermissionDenied` | When auto mode denies a tool call, including denials without a classifier verdict. Use JSON `hookSpecificOutpu…
Week 14 · March 30 – April 3, 2026
Claude Code CLI · in the page
whats-new/2026-w14
…reference.md#standard-layout) Other wins Auto mode follow-ups: new `PermissionDenied` hook fires on classifier denials (return `retry: true` to let Claude try a different approach), and `/permission…