io.confluent.kafka.schemaregistry.client.rest.exceptions.RestClientException

Subject not found.; error code: 40401

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web23

  • via Google Groups by George @paytm.com, 3 weeks ago
    Subject not found.; error code: 40401
  • via Google Groups by Stephen Rausch, 6 months ago
    Subject not found.; error code: 40401
  • via GitHub by zoltan-fedor
    , 6 months ago
    **Subject not found.; error code: 40401**
  • Stack trace

    • io.confluent.kafka.schemaregistry.client.rest.exceptions.RestClientException: Subject not found.; error code: 40401 at gobblin.source.extractor.extract.kafka.KafkaDeserializerExtractor.getSchema(KafkaDeserializerExtractor.java:104) at gobblin.instrumented.extractor.InstrumentedExtractorDecorator.getSchema(InstrumentedExtractorDecorator.java:64) at gobblin.runtime.Task.run(Task.java:139) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: gobblin.metrics.kafka.SchemaRegistryException: io.confluent.kafka.schemaregistry.client.rest.exceptions.RestClientException: Subject not found.; error code: 40401 at gobblin.source.extractor.extract.kafka.ConfluentKafkaSchemaRegistry.getLatestSchemaByTopic(ConfluentKafkaSchemaRegistry.java:79) at gobblin.source.extractor.extract.kafka.ConfluentKafkaSchemaRegistry.getLatestSchemaByTopic(ConfluentKafkaSchemaRegistry.java:46) at gobblin.source.extractor.extract.kafka.KafkaDeserializerExtractor.getSchema(KafkaDeserializerExtractor.java:102) ... 5 more Caused by: io.confluent.kafka.schemaregistry.client.rest.exceptions.RestClientException: Subject not found.; error code: 40401 at io.confluent.kafka.schemaregistry.client.rest.RestService.sendHttpRequest(RestService.java:157) at io.confluent.kafka.schemaregistry.client.rest.RestService.httpRequest(RestService.java:174) at io.confluent.kafka.schemaregistry.client.rest.RestService.getLatestVersion(RestService.java:339) at io.confluent.kafka.schemaregistry.client.rest.RestService.getLatestVersion(RestService.java:331) at io.confluent.kafka.schemaregistry.client.CachedSchemaRegistryClient.getLatestSchemaMetadata(CachedSchemaRegistryClient.java:109) at gobblin.source.extractor.extract.kafka.ConfluentKafkaSchemaRegistry.getLatestSchemaByTopic(ConfluentKafkaSchemaRegistry.java:77) ... 7 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 10 months ago