Error while running PUT https://****************


I am getting following error on starting the FSCrawler.

13:53:09,247 DEBUG [f.p.e.c.f.c.ElasticsearchClient] get version
13:53:10,062 DEBUG [f.p.e.c.f.c.ElasticsearchClient] get version returns 8.12.1 and 8 as the major version number
13:53:10,062 INFO  [f.p.e.c.f.c.ElasticsearchClient] Elasticsearch Client connected to a node running version 8.12.1
13:53:10,062 DEBUG [f.p.e.c.f.s.FsCrawlerDocumentServiceElasticsearchImpl] Elasticsearch Document Service started
13:53:10,063 DEBUG [f.p.e.c.f.c.ElasticsearchClient] create index [/home/rahul/Downloads/epfile_documents]
13:53:10,331 DEBUG [f.p.e.c.f.c.ElasticsearchClient] Error while running PUT https://3******************* {"error":"no handler found for uri [/home/rahul/Downloads/epfile_documents] and method [PUT]"}
13:53:10,332 DEBUG [f.p.e.c.f.c.ElasticsearchClient] Response for create index [/home/rahul/Downloads/epfile_documents]: HTTP 400 Bad Request
13:53:10,332 WARN  [f.p.e.c.f.c.ElasticsearchClient] failed to create index [/home/rahul/Downloads/epfile_documents], disabling crawler...
13:53:10,332 FATAL [f.p.e.c.f.c.FsCrawlerCli] We can not start Elasticsearch Client. Exiting.
com.jayway.jsonpath.PathNotFoundException: Expected to find an object with property ['type'] in path $['error'] but found 'java.lang.String'. This is not a json object according to the JsonProvider: 'com.jayway.jsonpath.spi.json.JsonSmartJsonProvider'.
13:53:10,337 DEBUG [f.p.e.c.f.FsCrawlerImpl] Closing FS crawler [/home/rahul/Downloads/epfile_documents]

Could you share your fscrawler job settings?