CMS Development

Viktar
Membro

Can not save template

resolver

Hello!

I have an issue to save template.

 

 

 

{% set queryParameters ='region=' + html_lang %}
{% set all_vacancies = hubdb_table_rows(5688447, queryParameters) %}

 

 

 

 

11HdvTu

 

HL4txbQ

 

But in this case saving works well:

 

 

 

{% set all_vacancies = hubdb_table_rows(5688447, 'region=lt') %}

 

 

 

What is wrong?

 

UPD:

Снимок экрана от 2023-03-03 13-40-52.png

But it should return 0 rows instead the error. 

It looks like a hubspot bug

0 Avaliação positiva
1 Solução aceita
Stephanie-OG
Solução
Conselheiro(a) de destaque

Can not save template

resolver

Does this work?

 

{% set all_vacancies = hubdb_table_rows(5688447, 'region=en') %}

 

Becuase it looks like the erorr is that there's no region "en" in your HubDB table (in which case you can just add the option to the column).

 


Stephanie O'Gay Garcia

Freelance HubSpot CMS Developer

Website | Contact

Exibir solução no post original

2 Respostas 2
Stephanie-OG
Solução
Conselheiro(a) de destaque

Can not save template

resolver

Does this work?

 

{% set all_vacancies = hubdb_table_rows(5688447, 'region=en') %}

 

Becuase it looks like the erorr is that there's no region "en" in your HubDB table (in which case you can just add the option to the column).

 


Stephanie O'Gay Garcia

Freelance HubSpot CMS Developer

Website | Contact

Viktar
Membro

Can not save template

resolver

Becuase it looks like the erorr is that there's no region "en" in your HubDB table (in which case you can just add the option to the column).

- it is a solution, but it is wrong. Template should not know about data structure. Database should return 0 rows instead of the error message

0 Avaliação positiva