org.apache.avro.SchemaParseException: Illegal initial character: {"type":"record","name":"WS_MESSAGES","fields":[{"name":"message_id","type":"string"},{"name":"action","type":"string"},{"name":"status","type":"string"},{"name":"request","type":"string"},{"name":"response","type":"string"}]}

tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Getting Illegal initial character: in schema parsing

    Stack Overflow | 1 month ago | Amritendu Panda
    org.apache.avro.SchemaParseException: Illegal initial character: {"type":"record","name":"WS_MESSAGES","fields":[{"name":"message_id","type":"string"},{"name":"action","type":"string"},{"name":"status","type":"string"},{"name":"request","type":"string"},{"name":"response","type":"string"}]}
  2. 0

    GitHub comment 4#88214093

    GitHub | 2 years ago | karrick
    org.apache.avro.SchemaParseException: No type: {"type":{"fields":[{"default":null,"type":["null","string"],"name":"eventname"}],"name":"detailstype","type":"record"},"name":"details"}
  3. 0

    GitHub comment 178#171015449

    GitHub | 1 year ago | denis-yuen
    org.apache.avro.SchemaParseException: Illegal character in: draft-3.dev1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 394#236786555

    GitHub | 8 months ago | jcustenborder
    org.apache.avro.SchemaParseException: Illegal initial character: 1

  1. Handemelindo 3 times, last 3 months ago
3 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.apache.avro.SchemaParseException

    Illegal initial character: {"type":"record","name":"WS_MESSAGES","fields":[{"name":"message_id","type":"string"},{"name":"action","type":"string"},{"name":"status","type":"string"},{"name":"request","type":"string"},{"name":"response","type":"string"}]}

    at org.apache.avro.Schema.validateName()
  2. Apache Avro
    Schema$Parser.parse
    1. org.apache.avro.Schema.validateName(Schema.java:1079)
    2. org.apache.avro.Schema.access$200(Schema.java:79)
    3. org.apache.avro.Schema$Name.<init>(Schema.java:436)
    4. org.apache.avro.Schema$Names.get(Schema.java:1043)
    5. org.apache.avro.Schema.parse(Schema.java:1160)
    6. org.apache.avro.Schema$Parser.parse(Schema.java:965)
    7. org.apache.avro.Schema$Parser.parse(Schema.java:953)
    7 frames
  3. main.scala
    SampleStreaming.main
    1. main.scala.SampleStreaming$.main(SampleStreaming.scala:42)
    2. main.scala.SampleStreaming.main(SampleStreaming.scala)
    2 frames