# Bloom parameter suggestion error in Dynamic Search phrases tested as the manual

**URL:** <https://community.neo4j.com/t/bloom-parameter-suggestion-error-in-dynamic-search-phrases-tested-as-the-manual/58297>\
**Category:** Neo4j Graph Platform\
**Tags:** bloom, migrated, dynamic-search-phras, parameter-suggestion\
**Created:** [January 8, 2023, 11:06pm UTC](https://community.neo4j.com/t/bloom-parameter-suggestion-error-in-dynamic-search-phrases-tested-as-the-manual/58297 "2023-01-08T23:06:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dongho](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/dongho/32/3279_2.png) [@Dongho](https://community.neo4j.com/u/Dongho)\
**Post date:** [January 8, 2023, 11:06pm UTC](https://community.neo4j.com/t/bloom-parameter-suggestion-error-in-dynamic-search-phrases-tested-as-the-manual/58297/1 "2023-01-08T23:06:19Z")

</div>

I am testing Bloom 2.5.1(on Neo4j 5.3.0) with Northwind graph(made by :play northwind) according to the manual below:

[https://neo4j.com/docs/bloom-user-guide/current/bloom-tutorial/search-phrases-advanced/](https://neo4j.com/docs/bloom-user-guide/current/bloom-tutorial/search-phrases-advanced/)

I got the error below when I tested Dynamic Search pharases with parameters suggestion as the manual describes:

match (c:Customer)-[r1]-(o)-[r2]-(p)-[r3]-(cat:Category)  
where c.country = $country and cat.categoryName = $category  
return \*

"AN ERROR OCCURRED WHILE RETRIEVING SUGGESTIONS:  
Cannot read properties of undefined (reading 'toString')"

No error with "No suggestions" but it occurs when I enabled the suggestions by Label-key or Cypher query.

The query returns result after I click off the error message at the start of writing the query. But it is cumbersome and looks bad when I demo in front of Neo4j customers.

---

<div class="post-metadata">

**Author:** ![jeff\_gagnon](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/jeff_gagnon/32/19066_2.png) [@jeff\_gagnon](https://community.neo4j.com/u/jeff_gagnon)\
**Post date:** [January 16, 2023, 3:17pm UTC](https://community.neo4j.com/t/bloom-parameter-suggestion-error-in-dynamic-search-phrases-tested-as-the-manual/58297/2 "2023-01-16T15:17:17Z")

</div>

Thanks for reporting - we will investigate. Now that we've released Bloom 2.6.0, have you had a chance to confirm whether you're still experiencing the issue?

---

<div class="post-metadata">

**Author:** ![Dongho](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/dongho/32/3279_2.png) [@Dongho](https://community.neo4j.com/u/Dongho)\
**Post date:** [January 28, 2023, 10:59am UTC](https://community.neo4j.com/t/bloom-parameter-suggestion-error-in-dynamic-search-phrases-tested-as-the-manual/58297/3 "2023-01-28T10:59:59Z")

</div>

Yes, the problem is still the same in 2.6.1. I've checked the version after restarting the server.

About Neo4j Bloom

Made by [Neo4j, Inc](https://www.neo4j.com/)

Copyright © 2002 - 2023

Neo4j Bloom version: 2.6.1

Neo4j Bloom server plugin version: 2.6.1

---

<div class="post-metadata">

**Author:** ![sebastien.quemere](https://avatars.discourse-cdn.com/v4/letter/s/82dd89/32.png) [@sebastien.quemere](https://community.neo4j.com/u/sebastien.quemere)\
**Post date:** [July 25, 2023, 12:08pm UTC](https://community.neo4j.com/t/bloom-parameter-suggestion-error-in-dynamic-search-phrases-tested-as-the-manual/58297/4 "2023-07-25T12:08:21Z")

</div>

Hi, I have experienced the same kind of error.

Have you tried to use toString function in your query ?

```auto
match (c:Customer)-[r1]-(o)-[r2]-(p)-[r3]-(cat:Category)
where c.country = toString($country) and cat.categoryName = toString($category)
return *

```
