# Class InvalidTenantIdException OptimaJet.Workflow.Api.Exceptions.InvalidTenantIdException An exception thrown when a tenant id has an invalid format. Namespace: [OptimaJet.Workflow.Api.Exceptions](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Exceptions/) ```csharp public class InvalidTenantIdException : ArgumentException, ISerializable ``` ## Type Hierarchy - [Exception](https://learn.microsoft.com/dotnet/api/system.exception) - [SystemException](https://learn.microsoft.com/dotnet/api/system.systemexception) - [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) - InvalidTenantIdException Current type - Implemented interfaces - [ISerializable](https://learn.microsoft.com/dotnet/api/system.runtime.serialization.iserializable) ## Constructors `public InvalidTenantIdException(string tenantId)` An exception thrown when a tenant id has an invalid format. ### Parameters | Name | Type | Description | | --- | --- | --- | | `tenantId` | `String` | The invalid tenant id. | [Previous InvalidPermissionsValueException](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Exceptions/InvalidPermissionsValueException/) [Next LicenseUnsupportedException](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Exceptions/LicenseUnsupportedException/)