# HubDB: Error in help doc?

**URL:** <https://community.hubspot.com/t/hubdb-error-in-help-doc/2156>\
**Category:** CMS Development\
**Created:** [May 25, 2017, 7:44pm UTC](https://community.hubspot.com/t/hubdb-error-in-help-doc/2156 "2017-05-25T19:44:57Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![patpalingo](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/patpalingo/32/75439_2.png) [@patpalingo](https://community.hubspot.com/u/patpalingo)\
**Post date:** [May 25, 2017, 7:44pm UTC](https://community.hubspot.com/t/hubdb-error-in-help-doc/2156/1 "2017-05-25T19:44:57Z")

</div>

I’m on step 1 of this, I copy the code for step 1, swap in the value for my db and when I try to save it gives an error and won’t publish [GitHub - HubSpot/cms-custom-objects-example · GitHub](https://designers.hubspot.com/docs/tutorials/how-to-build-a-real-estate-listing-with-hubdb)

---

<div class="post-metadata">

**Author:** ![EricSalvi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/ericsalvi/32/61601_2.png) [@EricSalvi](https://community.hubspot.com/u/EricSalvi)\
**Post date:** [May 26, 2017, 1:10am UTC](https://community.hubspot.com/t/hubdb-error-in-help-doc/2156/2 "2017-05-26T01:10:25Z")

</div>

Hey @patpalingo, what type of error are you receiving. Also when you say Step 1 and you swap in the value for your DB I assume you actually meant Step 2?  
Make sure you set up the Database with the exact Columns and Types first.

---

<div class="post-metadata">

**Author:** ![patpalingo](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/patpalingo/32/75439_2.png) [@patpalingo](https://community.hubspot.com/u/patpalingo)\
**Post date:** [May 26, 2017, 1:27pm UTC](https://community.hubspot.com/t/hubdb-error-in-help-doc/2156/3 "2017-05-26T13:27:33Z")

</div>

Sorry, yes I mean Step 2. When I paste that in and swap in my db value it won’t let me save

Here is error

The following validation error was found: TemplateSyntaxException: Error parsing ‘hubdb\_table\_rows{{668065}}, queryparam)’. syntax error at position 26, encountered ‘}’, expected ‘:’

---

<div class="post-metadata">

**Author:** ![EricSalvi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/ericsalvi/32/61601_2.png) [@EricSalvi](https://community.hubspot.com/u/EricSalvi)\
**Post date:** [May 26, 2017, 2:49pm UTC](https://community.hubspot.com/t/hubdb-error-in-help-doc/2156/4 "2017-05-26T14:49:53Z")

</div>

Hey @patpalingo  
Try this line instead.

`{% set table = hubdb_table_rows(668065, queryparam) %}`

Let me know how you make out.

---

<div class="post-metadata">

**Author:** ![patpalingo](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/patpalingo/32/75439_2.png) [@patpalingo](https://community.hubspot.com/u/patpalingo)\
**Post date:** [May 26, 2017, 7:03pm UTC](https://community.hubspot.com/t/hubdb-error-in-help-doc/2156/5 "2017-05-26T19:03:54Z")

</div>

Thank you Eric, that worked

There is a similar thing in another step of that documentation.

I just need to figure out why it’s printing some things like it is now haha

---

<div class="post-metadata">

**Author:** ![EricSalvi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/ericsalvi/32/61601_2.png) [@EricSalvi](https://community.hubspot.com/u/EricSalvi)\
**Post date:** [May 26, 2017, 7:08pm UTC](https://community.hubspot.com/t/hubdb-error-in-help-doc/2156/6 "2017-05-26T19:08:57Z")

</div>

Try it out and if you need help please reach out.

---

<div class="post-metadata">

**Author:** ![mwhite](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mwhite/32/29572_2.png) [@mwhite](https://community.hubspot.com/u/mwhite)\
**Post date:** [August 2, 2017, 12:02am UTC](https://community.hubspot.com/t/hubdb-error-in-help-doc/2156/7 "2017-08-02T00:02:55Z")

</div>

**Adding this here because it’s the same tutorial from question above:**

In this **Real Estate Listing Tutorial** it asks us to setup a column named type using select options. However, the select options are being pulled from the database but it requires I type in select options? This throws off this column completely. Please advise as something maybe changed in the adding a Column **type(Select)** interface?

Thanks,

-Matt
