---
title: "Validate import metadata file"
method: POST
path: "/hubs/{HubHashId}/projects/{ProjectId}/import_metadata_parse"
tags: ["Metadata"]
---

# Validate import metadata file

`POST /hubs/{HubHashId}/projects/{ProjectId}/import_metadata_parse`

Validate a CSV or XLSX metadata file before import.

## Path parameters

- `HubHashId` string, required
- `ProjectId` integer, required

## Headers

- `Content-Length` integer
- `dateFormat` string
- `timeZoneId` string

## Response `200`

The metadata was successfully parsed and validated.

- ResultOfFeaturesMetadataImportImportMetadataParseImportMetadataParseResponse
  - `value` FeaturesMetadataImportImportMetadataParseImportMetadataParseResponse
    - `documents` BIMOneBIMTrackDocumentControlImportMetadataMetadataParsingModelsDocumentSummary[], nullable
      - `id` string, nullable
      - `number` string, nullable
      - `name` string, nullable
      - `title` string, nullable
      - `size` string, nullable
      - `scale` string, nullable
      - `discipline` BIMOneBIMTrackDocumentControlImportMetadataMetadataParsingModelsDisciplineFieldInfo
        - `value` string[], nullable
      - `description` string, nullable
      - `type` string, nullable
      - `suitability` string, nullable
      - `revisionDescription` string, nullable
      - `revisionPurpose` string, nullable
      - `revisionPrefix` string, nullable
      - `revisionNumber` string, nullable
      - `revisionSuffix` string, nullable
      - `revisionDate` string, nullable
      - `hasMatchingDocument` boolean
      - `row` integer
    - `errors` object, nullable
    - `disciplineLabel` string, nullable
    - `disciplineErrors` object, nullable
  - `status` 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8
  - `isSuccess` boolean
  - `successMessage` string, nullable
  - `correlationId` string, nullable
  - `errors` string[], nullable
  - `validationErrors` ArdalisResultValidationError[], nullable
    - `identifier` string, nullable
    - `errorMessage` string, nullable
    - `errorCode` string, nullable
    - `severity` 0 | 1 | 2

## Other responses

- `307` — According to the hub id, the request is at the wrong datacenter. Please retry with the URL in the "Location" header.
- `400` — The request is malformed or has invalid parameters values.
- `401` — The request is not authenticated.
- `403` — You don't have access to the project.
- `404` — The project doesn't exist.

---

[API](https://skmtc.dev/bimtrackapp/apis/newforma-konekt-document-control-api.md) · [All operations](https://skmtc.dev/bimtrackapp/apis/newforma-konekt-document-control-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/bimtrackapp/newforma-konekt-document-control-api/revisions/4671d430ce39/schema)
