# Esrally creat index error,class\_cast\_exception

**URL:** <https://discuss.elastic.co/t/esrally-creat-index-error-class-cast-exception/350215>\
**Category:** Elasticsearch\
**Created:** [January 2, 2024, 9:19am UTC](https://discuss.elastic.co/t/esrally-creat-index-error-class-cast-exception/350215 "2024-01-02T09:19:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zhouxuanxuan](https://avatars.discourse-cdn.com/v4/letter/z/41988e/32.png) [@zhouxuanxuan](https://discuss.elastic.co/u/zhouxuanxuan)\
**Post date:** [January 2, 2024, 9:19am UTC](https://discuss.elastic.co/t/esrally-creat-index-error-class-cast-exception/350215/1 "2024-01-02T09:19:44Z")

</div>

[ERROR] Cannot race. Error in load generator [0]  
Cannot run task [create-index]: Request returned an error. Error type: transport, Description: class\_cast\_exception ({'error': {'root\_cause': [{'type': 'class\_cast\_exception', 'reason': 'java.lang.String cannot be cast to java.util.Map'}], 'type': 'class\_cast\_exception', 'reason': 'java.lang.String cannot be cast to java.util.Map'}, 'status': 500})

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/a/7/a782c7758add599e06d49a30f6adb8841c66fee8.png)  
somebody help me

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 30, 2024, 9:20am UTC](https://discuss.elastic.co/t/esrally-creat-index-error-class-cast-exception/350215/2 "2024-01-30T09:20:10Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
