Skip to content

NotFoundError

Error thrown when a resource is not found (404 errors) Common scenarios: - Resource doesn't exist - Invalid ID provided - Resource deleted

Extends

Constructors

Constructor

new NotFoundError(params: Partial<ErrorParams>): NotFoundError;

Parameters

Parameter Type
params Partial<ErrorParams>

Returns

NotFoundError

Overrides

UiPathError.constructor

Properties

Property Modifier Type Description
type readonly string Error type identifier (e.g., "AuthenticationError", "ValidationError")
message readonly string Error message describing what went wrong
statusCode? readonly number HTTP status code (400, 401, 403, 404, 500, etc.)
requestId? readonly string Request ID for tracking with UiPath support
timestamp readonly Date Timestamp when the error occurred
stack? readonly string Stack trace for debugging

Methods

getDebugInfo()

getDebugInfo(): Record<string, unknown>;

Returns detailed debug information including stack trace

Returns

Record<string, unknown>

Inherited from

UiPathError.getDebugInfo