# Class PermissionTargetNotFoundException OptimaJet.Workflow.Api.Exceptions.PermissionTargetNotFoundException An exception thrown when an permission target permission is not found. Namespace: [OptimaJet.Workflow.Api.Exceptions](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Exceptions/) ```csharp public class PermissionTargetNotFoundException : InvalidOperationException, ISerializable ``` ## Type Hierarchy - [Exception](https://learn.microsoft.com/dotnet/api/system.exception) - [SystemException](https://learn.microsoft.com/dotnet/api/system.systemexception) - [InvalidOperationException](https://learn.microsoft.com/dotnet/api/system.invalidoperationexception) - PermissionTargetNotFoundException Current type - Implemented interfaces - [ISerializable](https://learn.microsoft.com/dotnet/api/system.runtime.serialization.iserializable) ## Constructors `public PermissionTargetNotFoundException(string? target = null)` An exception thrown when permission target is not found. ### Parameters | Name | Type | Description | | --- | --- | --- | | `target` | `String` | The name of the permission target that was not found. | [Previous OperationGroupNotFoundException](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Exceptions/OperationGroupNotFoundException/) [Next ProcessParameterDeserializationException](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Exceptions/ProcessParameterDeserializationException/)