org.apache.avro.SchemaParseException

No type: {"schema":"{\"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\"}],\"connect.name\":\"WS_MESSAGES\"}"}


Solutions on the web21

Solution icon of stackoverflow
No type: {"schema":"{\"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\"}],\"connect.name\":\"WS_MESSAGES\"}"}

Solution icon of github
via GitHub by karrick
, 9 months ago
No type: {"type":{"fields":[{"default":null,"type":["null","string"],"name":"eventname"}],"name":"detailstype","type":"record"},"name":"details"}

Solution icon of stackoverflow
via Stack Overflow by soulmachine
, 1 year ago
No field name: {"type":"map","values":"long"}

Solution icon of apache
via avro-user by George Porter, 1 year ago
Type not yet supported: > string

Solution icon of github
via GitHub by jamiefolson
, 1 year ago
Enum has no symbols: {"name":"col_1","type":"enum","symbols":"_6f7a4bc347_ravro"}

Solution icon of github
via GitHub by piccolbo
, 1 year ago
Enum has no symbols: {"name":"col_1","type":"enum","symbols":"_6f7a4bc347_ravro"}

Solution icon of github
"record" is not a defined name. The type of the "impression" field must be a defined name or a {"type": ...} expression.

Solution icon of stackoverflow
via Stack Overflow by Unknown author, 1 year ago
"record" is not a defined name. The type of the "_id" field must be a defined name or a {"type": ...} expression.

Solution icon of github
via GitHub by pm-kartik-sura
, 9 months ago
"record" is not a defined name. The type of the "user" field must be a defined name or a {"type": ...} expression.

Solution icon of github
via GitHub by pm-kartik-sura
, 9 months ago
"record" is not a defined name. The type of the "impression" field must be a defined name or a {"type": ...} expression.

Stack trace

  • org.apache.avro.SchemaParseException: No type: {"schema":"{\"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\"}],\"connect.name\":\"WS_MESSAGES\"}"} at org.apache.avro.Schema.getRequiredText(Schema.java:1305) at org.apache.avro.Schema.parse(Schema.java:1166)

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

3 times, 7 months ago