Schema registry request failed: 422 - parse error at offset 39
Last updated: August 10, 2026
When migrating schema registry data from a Confluent Cluster to Redpanda using the migration tool, customers may encounter a 500 error in the Console UI with the message "schema registry request failed: 422 - parse error at offset 39". This issue occurs because Redpanda Schema Registry only supports metadata with a null value, while the imported data contains non-null metadata.
Symptoms
- 500 errors in the Console UI
- 422 Unprocessable Entity errors when querying the
/subjectsendpoint - "parse error at offset 39" when using
rpk registry schema list
Solution
To resolve this issue, follow these steps:
- Delete the existing
_schemastopic - Recreate the
_schemastopic with proper configurations - Re-import the schema data after removing the metadata
Detailed Steps:
-
Remove
_schemasfrom thekafka_nodelete_topicsconfiguration:rpk cluster config set kafka_nodelete_topics '["_redpanda.audit_log", "__consumer_offsets"]' -
Delete the
_schemastopic:rpk topic delete _schemas -
Recreate the
_schemastopic with the correct configurations:rpk topic create _schemas -c cleanup.policy=compact -c compression.type=none -c initial.retention.local.target.bytes=-1 -c initial.retention.local.target.ms=-1 -c retention.bytes=-1 -c retention.local.target.bytes=-1 -c retention.local.target.ms=-1 -c retention.ms=-1 ${rpkauth} -
Add
_schemasback tokafka_nodelete_topics:rpk cluster config set kafka_nodelete_topics '["_redpanda.audit_log", "__consumer_offsets", "_schemas"]' -
Re-import the schema data after removing the metadata from the exported data.
If you need additional help please reach out to the Support Team.