---
title: "Validates a package intended for the built in package feed, but does not write the package."
method: POST
path: "/spaces/{spaceIdentifier}/packages/raw/validate"
tags: ["Packages"]
---

# Validates a package intended for the built in package feed, but does not write the package.

`POST /spaces/{spaceIdentifier}/packages/raw/validate`

## Path parameters

- `spaceIdentifier` string, required

## Response `200`

The validation issue detected for a package, or null if the package passes all validation checks.

- ValidateBuiltInPackageResponse
  - `Issue` 'CorruptedNugetPackage' | 'CouldNotValidate' | 'EmptyFile' | 'FileNameTooLong' | 'InvalidCharactersInFileName' | 'InvalidPackageId' | 'PackageAlreadyExists' | 'UnsupportedFileExtension'

## Other responses

- `400` — Bad request. Either the payload was not structurally valid or business rules did not permit the operation.
- `404` — Not found. One or more of the entities involved in the operation was not found.

---

[API](https://skmtc.net/octopus/apis/octopus-server-api.md) · [All operations](https://skmtc.net/octopus/apis/octopus-server-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/octopus/octopus-server-api/versions/bc9158facfc7/schema)
