# MetadataStructureAnomaly

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Reference](https://developer.m-files.com/APIs/gRPC-API/Reference/index.md) > [Messages](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/index.md)

HTML version: https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.MetadataStructureAnomaly/

Struct for a metadata structure anomaly.

- **Full name:** `MFiles.MetadataStructureAnomaly`
- **Proto file:** [`mfiles/structs.proto`](https://developer.m-files.com/APIs/gRPC-API/downloads/proto/mfiles/structs.proto)

<a id="fields"></a>

## Fields

| Field | Type | Number | Description |
|---|---|---|---|
| <a id="f-context"></a>`context` | [`MetadataStructureContext`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.MetadataStructureContext/index.md) | 1 | The anomaly context. |
| <a id="f-description"></a>`description` | `string` | 2 | The anomaly description. |
| <a id="f-callstack"></a>`callstack` | `string` | 3 | The call stack of this anomaly occurrence. |

<a id="used-by-methods"></a>

## Used by methods

- [IRPCDeclarativeMetadataStructureAsProtobuf.SetDeclarativeMetadataStructureAsProtobuf](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCDeclarativeMetadataStructureAsProtobuf/SetDeclarativeMetadataStructureAsProtobuf/index.md): Replaces the vault's metadata structure with the given structure.

<a id="used-in-fields"></a>

## Used in fields

- [`SetDeclarativeMetadataStructureAsProtobufRequest.anomalies`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCDeclarativeMetadataStructureAsProtobuf/SetDeclarativeMetadataStructureAsProtobuf/index.md#request): Not read by the server.
