---
title: "What changed in a file an activated mapping no longer fits"
description: "Mappings API"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.certinvo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# What changed in a file an activated mapping no longer fits

{/* Generated by apps/docs/scripts/generate.ts from contracts/api/openapi.yaml. Do not edit. */}
<div class="cvo-op">
<div class="cvo-op-main">

<div class="cvo-op-header">
<div class="cvo-op-path-row">
<span class="cvo-method" data-method="post">POST</span>
<code class="cvo-op-path-code">/v1/mappings/&#123;version&#125;/drift</code>
</div>
</div>

Send one file and the version of an activated mapping. The answer says whether the mapping still reads the file (`stillLoads`, the engine's answer), and which fields are unchanged, renamed, written differently or lost, which columns are new, and a summary. Use it when a file is refused: the answer is the next version's starting point. Nothing is stored and nothing is validated.

## Path parameters

## Request body

`application/json`, required

## Status codes

| Status | Meaning |
|---|---|
| `200` | `{drift}`: `stillLoads`, `unchanged`, `renamed`, `reformatted`, `lost`, `shapeLost`, `newColumns` and `summary`. |
| `400` | No sample with a name and its bytes (`no_samples`), or the mapping says nothing about reading a file (`config_reads_no_file`). |
| `401` | No usable credential was sent (`invalid_credentials`). |
| `404` | This company activated no such mapping (`unknown_mapping_config`). |
| `413` | The file is larger than 10 MB (`document_too_large`), or holds more than one request may carry once read (`file_too_large_to_read`). |
| `422` | The file cannot be read (`unreadable_file`), or the profiler cannot profile it (`unprofilable_sample`). |
| `502` | The reader could not run (`engine_unavailable`). Nothing is wrong with the file. |
| `503` | The profiler did not answer (`profiler_unavailable`). |

</div>
<div class="cvo-op-aside">

</div>
</div>

Source: https://docs.certinvo.com/reference/api/mappings/what-changed-in-a-file-an-activated-mapping-no-longer-fits/index.mdx
