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"}]}

Samebug tips0

We couldn't find tips for this exception.

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

Solutions on the web21

  • via Unknown by Unknown author,
  • Stack trace

    • 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(Schema.java:1079) at org.apache.avro.Schema.access$200(Schema.java:79) at org.apache.avro.Schema$Name.<init>(Schema.java:436) at org.apache.avro.Schema$Names.get(Schema.java:1043) at org.apache.avro.Schema.parse(Schema.java:1160) at org.apache.avro.Schema$Parser.parse(Schema.java:965) at org.apache.avro.Schema$Parser.parse(Schema.java:953) at main.scala.SampleStreaming$.main(SampleStreaming.scala:42) at main.scala.SampleStreaming.main(SampleStreaming.scala)

    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

    HandemelindoHandemelindo
    3 times, last one
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,