---
title: MALFORMED_JSON_SCHEMA_REGISTRY_MESSAGE error condition
description: Documentation for the MALFORMED\_JSON\_SCHEMA\_REGISTRY\_MESSAGE error condition on Databricks
canonical_url: https://docs.databricks.com/gcp/en/error-messages/malformed-json-schema-registry-message-error-class
---

# MALFORMED\_JSON\_SCHEMA\_REGISTRY\_MESSAGE error condition

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Malformed `JSON` Schema Registry message.

## INCOMPLETE\_HEADER

The Schema Registry header is incomplete; expected at least 5 bytes, but found `<headerLength>`.

## INVALID\_MAGIC\_BYTE

The Schema Registry wire-format magic byte is invalid; expected 0x00, but found `<magicByte>`.

## SCHEMA\_ID\_NOT\_FOUND

Schema id `<schemaId>` is not registered for subject `<subject>`.
