kafka.network.InvalidRequestException: Error getting request for apiKey: 18 and apiVersion: 0

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Stack Overflow by JcMAX
, 1 year ago
Error getting request for apiKey: 18 and apiVersion: 0
via Apache's JIRA Issue Tracker by Magnus Edenhill, 1 year ago
Error getting request for apiKey: 8 and apiVersion: 1
via GitHub by edenhill
, 1 year ago
Error getting request for apiKey: 8 and apiVersion: 1
via GitHub by chandradeepak
, 3 months ago
Error getting request for apiKey: 2 and apiVersion: 1
via GitHub by sharadgaur
, 7 months ago
Error getting request for apiKey: 18 and apiVersion: 0
kafka.network.InvalidRequestException: Error getting request for apiKey: 18 and apiVersion: 0
at org.apache.kafka.common.protocol.ApiKeys.forId(ApiKeys.java:69)
at kafka.network.RequestChannel$Request.liftedTree2$1(RequestChannel.scala:90)
at kafka.network.RequestChannel$Request.(RequestChannel.scala:90)
at kafka.network.Processor$$anonfun$run$11.apply(SocketServer.scala:426)
at scala.collection.Iterator$class.foreach(Iterator.scala:742)
at scala.collection.AbstractIterator.foreach(Iterator.scala:1194)
at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
at kafka.network.Processor.run(SocketServer.scala:421)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 10 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.