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

Solutions on the web

via GitHub by yaoyaminaco0571
, 1 year ago
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
, 2 years ago
Error getting request for apiKey: 8 and apiVersion: 1
via GitHub by chandradeepak
, 8 months ago
Error getting request for apiKey: 2 and apiVersion: 1
via GitHub by sharadgaur
, 1 year ago
Error getting request for apiKey: 18 and apiVersion: 0
java.lang.IllegalArgumentException: Unexpected ApiKeys id `18`, it should be between `0` and `16` (inclusive)	at org.apache.kafka.common.protocol.ApiKeys.forId(ApiKeys.java:69)	at org.apache.kafka.common.requests.AbstractRequest.getRequest(AbstractRequest.java:39)	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 kafka.network.Processor$$anonfun$run$11.apply(SocketServer.scala:421)	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 scala.collection.AbstractIterable.foreach(Iterable.scala:54)	at kafka.network.Processor.run(SocketServer.scala:421)	at java.lang.Thread.run(Thread.java:745)