# Web Security Scanner v1 API - Enum ScanConfigError.Types.Code (2.6.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [2.6.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebSecurityScanner.V1/latest/Google.Cloud.WebSecurityScanner.V1.ScanConfigError.Types.Code)
- [2.5.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebSecurityScanner.V1/2.5.0/Google.Cloud.WebSecurityScanner.V1.ScanConfigError.Types.Code)
- [2.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebSecurityScanner.V1/2.4.0/Google.Cloud.WebSecurityScanner.V1.ScanConfigError.Types.Code)
- [2.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebSecurityScanner.V1/2.3.0/Google.Cloud.WebSecurityScanner.V1.ScanConfigError.Types.Code)
- [2.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebSecurityScanner.V1/2.2.0/Google.Cloud.WebSecurityScanner.V1.ScanConfigError.Types.Code)
- [2.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebSecurityScanner.V1/2.1.0/Google.Cloud.WebSecurityScanner.V1.ScanConfigError.Types.Code)
- [2.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebSecurityScanner.V1/2.0.0/Google.Cloud.WebSecurityScanner.V1.ScanConfigError.Types.Code)
- [1.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebSecurityScanner.V1/1.2.0/Google.Cloud.WebSecurityScanner.V1.ScanConfigError.Types.Code)
- [1.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebSecurityScanner.V1/1.1.0/Google.Cloud.WebSecurityScanner.V1.ScanConfigError.Types.Code)
- [1.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebSecurityScanner.V1/1.0.0/Google.Cloud.WebSecurityScanner.V1.ScanConfigError.Types.Code)

    public enum ScanConfigError.Types.Code

Reference documentation and code samples for the Web Security Scanner v1 API enum ScanConfigError.Types.Code.

Output only.
Defines an error reason code.
Next id: 44

## Namespace

[Google.Cloud.WebSecurityScanner.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebSecurityScanner.V1/latest/Google.Cloud.WebSecurityScanner.V1)

## Assembly

Google.Cloud.WebSecurityScanner.V1.dll

| ## Fields ||
|---|---|
| **Name** | **Description** |
| `AppengineApiBackendError` | One of the seed URLs is an App Engine URL but we cannot validate the scan settings due to an App Engine API backend error. |
| `AppengineApiNotAccessible` | One of the seed URLs is an App Engine URL but we cannot access the App Engine API to validate scan settings. |
| `AppengineDefaultHostMissing` | One of the seed URLs is an App Engine URL but the Default Host of the App Engine is not set. |
| `CannotUseGoogleComAccount` | Google corporate accounts can not be used for scanning. |
| `CannotUseOwnerAccount` | The account of the scan creator can not be used for scanning. |
| `ComputeApiBackendError` | This scan targets Compute Engine, but we cannot validate scan settings due to a Compute Engine API backend error. |
| `ComputeApiNotAccessible` | This scan targets Compute Engine, but we cannot access the Compute Engine API to validate the scan settings. |
| `CustomLoginUrlDoesNotBelongToCurrentProject` | The Custom Login URL does not belong to the current project. |
| `CustomLoginUrlHasNonRoutableIpAddress` | The Custom Login URL has a non-routable IP address. |
| `CustomLoginUrlHasUnreservedIpAddress` | The Custom Login URL has an IP address which is not reserved for the current project. |
| `CustomLoginUrlMalformed` | The Custom Login URL is malformed (can not be parsed). |
| `CustomLoginUrlMappedToNonRoutableAddress` | The Custom Login URL is mapped to a non-routable IP address in DNS. |
| `CustomLoginUrlMappedToUnreservedAddress` | The Custom Login URL is mapped to an IP address which is not reserved for the current project. |
| `DuplicateScanName` | Another scan with the same name (case-sensitive) already exists. |
| `FailedToAuthenticateToTarget` | There was an error trying to authenticate to the scan target. |
| `FindingTypeUnspecified` | Finding type value is not specified in the list findings request. |
| `ForbiddenToScanCompute` | Scan targets Compute Engine, yet current project was not whitelisted for Google Compute Engine Scanning Alpha access. |
| `ForbiddenUpdateToManagedScan` | User tries to update managed scan |
| `InternalError` | Indicates an internal server error. Please DO NOT USE THIS ERROR CODE unless the root cause is truly unknown. |
| `InvalidFieldValue` | A field is set to an invalid value. |
| `MalformedFilter` | The supplied filter is malformed. For example, it can not be parsed, does not have a filter type in expression, or the same filter type appears more than once. |
| `MalformedResourceName` | The supplied resource name is malformed (can not be parsed). |
| `Ok` | There is no error. |
| `ProjectInactive` | The current project is not in an active state. |
| `RequiredField` | A required field is not set. |
| `ResourceNameInconsistent` | Project id, scanconfig id, scanrun id, or finding id are not consistent with each other in resource name. |
| `ScanAlreadyRunning` | The scan being requested to start is already running. |
| `ScanNotRunning` | The scan that was requested to be stopped is not running. |
| `SeedUrlDoesNotBelongToCurrentProject` | One of the seed URLs does not belong to the current project. |
| `SeedUrlHasNonRoutableIpAddress` | One of the seed URLs has on-routable IP address. |
| `SeedUrlHasUnreservedIpAddress` | One of the seed URLs has an IP address that is not reserved for the current project. |
| `SeedUrlMalformed` | One of the seed URLs is malformed (can not be parsed). |
| `SeedUrlMappedToNonRoutableAddress` | One of the seed URLs is mapped to a non-routable IP address in DNS. |
| `SeedUrlMappedToUnreservedAddress` | One of the seed URLs is mapped to an IP address which is not reserved for the current project. |
| `ServiceAccountNotConfigured` | The Web Security Scanner service account is not configured under the project. |
| `TooManyScans` | A project has reached the maximum number of scans. |
| `UnableToResolveProjectInfo` | Resolving the details of the current project fails. |
| `Unspecified` | There is no error. |
| `UnsupportedBlacklistPatternFormat` | One or more blacklist patterns were in the wrong format. |
| `UnsupportedFilter` | The supplied filter is not supported. |
| `UnsupportedFindingType` | The supplied finding type is not supported. For example, we do not provide findings of the given finding type. |
| `UnsupportedUrlScheme` | The URL scheme of one or more of the supplied URLs is not supported. |