# What this error means: No implicit conversion to Float

**URL:** <https://discuss.elastic.co/t/what-this-error-means-no-implicit-conversion-to-float/248882>\
**Category:** Logstash\
**Created:** [September 16, 2020, 8:41pm UTC](https://discuss.elastic.co/t/what-this-error-means-no-implicit-conversion-to-float/248882 "2020-09-16T20:41:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nino](https://avatars.discourse-cdn.com/v4/letter/n/b9bd4f/32.png) [@nino](https://discuss.elastic.co/u/nino)\
**Post date:** [September 16, 2020, 8:41pm UTC](https://discuss.elastic.co/t/what-this-error-means-no-implicit-conversion-to-float/248882/1 "2020-09-16T20:41:44Z")

</div>

I am trying to debug this error:

`Ruby exception occurred: no implicit conversion of Float into String`

But i don't know what exactly means, no information about de field or line.

---

<div class="post-metadata">

**Author:** ![elasticforme](https://avatars.discourse-cdn.com/v4/letter/e/f05b48/32.png) [@elasticforme](https://discuss.elastic.co/u/elasticforme)\
**Post date:** [September 16, 2020, 8:54pm UTC](https://discuss.elastic.co/t/what-this-error-means-no-implicit-conversion-to-float/248882/2 "2020-09-16T20:54:47Z")

</div>

what is your ruby code?  
whatever field you are trying to change or reset in ruby is float but you are trying to do some string operation to it.

---

<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:** [October 14, 2020, 8:55pm UTC](https://discuss.elastic.co/t/what-this-error-means-no-implicit-conversion-to-float/248882/3 "2020-10-14T20:55:07Z")

</div>

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