# Issue with json schema registry

**URL:** <https://forum.confluent.io/t/issue-with-json-schema-registry/7586>\
**Category:** Schema Registry\
**Created:** [7 April 2023 10:20 UTC](https://forum.confluent.io/t/issue-with-json-schema-registry/7586 "2023-04-07T10:20:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![iheb090](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/iheb090/32/2890_2.png) [@iheb090](https://forum.confluent.io/u/iheb090)\
**Post date:** [7 April 2023 10:20 UTC](https://forum.confluent.io/t/issue-with-json-schema-registry/7586/1 "2023-04-07T10:20:57Z")

</div>

i work with spring cloud stream kafka , i have an issue with with json schema registry  
I use the version 7.1.4 of confluent dependency , i use topic name strategy so when i save the schema by this pattern topicname-value when i check the schema by the api of confluent i founded I start troubleshooting the problem at first i used auto.register.schemas = true to delegate to spring boot for constructing the schema in this case everything works fine i can produce the message to the topic and consume it but when i restart my application i had this problem

org.springframework.messaging.MessageHandlingException: error occurred in message handler [org.springframework.cloud.stream.binder.kafka.KafkaMessageChannelBinder$ProducerConfigurationMessageHandler@65ffd83e]; nested exception is org.apache.kafka.common.errors.SerializationException: Error retrieving JSON schema: {“$schema”:“[http://json-schema.org/draft-07/schema#](http://json-schema.org/draft-07/schema#)”

Ps: the schema used is too long

What might the problem be?
