Field 'tags' is backed by an array but the associated Spark Schema does not reflect this

I am trying to read the data from index in ES using pyspark. I am able to load the data into the dataframe. Used this code
reader ="es").option("", True).option("es.port","9200").option("es.nodes", "").option("","XRAM,XCPU,count,message")

df = reader.load("webserverstats")


. Its schema is there. Later on this error occured.

Could anybody help resolve this issue.

Thanks in advance.