<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: {{ request_contact }} variable returning error. in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/request-contact-variable-returning-error/m-p/444162#M23488</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/173506"&gt;@afdallah_arafat&lt;/a&gt; ,&lt;/P&gt;
&lt;P&gt;I would try changing that if statement to just looking for &lt;STRONG&gt;request_contact.is_logged_in &lt;/STRONG&gt; and maybe think more along the lines of is it euqal to true or false&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;{% if request_contact.is_logged_in == true %}&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 04 Jun 2021 14:09:43 GMT</pubDate>
    <dc:creator>dennisedson</dc:creator>
    <dc:date>2021-06-04T14:09:43Z</dc:date>
    <item>
      <title>{{ request_contact }} variable returning error.</title>
      <link>https://community.hubspot.com/t5/CMS-Development/request-contact-variable-returning-error/m-p/443564#M23439</link>
      <description>&lt;P&gt;Hi there,&lt;BR /&gt;&lt;SPAN&gt;&lt;STRONG&gt;{{ request_contact }}&lt;/STRONG&gt; variable suddenly not working, and give me this error message&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;EM&gt;`InterpretException: Error resolving expression [request_contact]: NullPointerException:`&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;It used to work and my template has been using that variable for so long and had no issue. I wonder is there a new update (breaking changes) to the HubSpot &lt;A title="request_contact variable" href="https://developers.hubspot.com/docs/cms/hubl/variables" target="_blank" rel="noopener"&gt;variables&lt;/A&gt; or I missed out on something.&lt;BR /&gt;&lt;A href="https://prnt.sc/13sg4xk" target="_blank" rel="noopener"&gt;https://prnt.sc/13sg4xk&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jun 2021 02:39:56 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/request-contact-variable-returning-error/m-p/443564#M23439</guid>
      <dc:creator>afdallah_arafat</dc:creator>
      <dc:date>2021-06-03T02:39:56Z</dc:date>
    </item>
    <item>
      <title>Re: {{ request_contact }} variable returning error.</title>
      <link>https://community.hubspot.com/t5/CMS-Development/request-contact-variable-returning-error/m-p/443775#M23455</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;request_contact&lt;/STRONG&gt; is a dictionary I believe. I think you may need to specify what you are requesting. eg &lt;STRONG&gt;{{request_contact.is_logged_in}}&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;What is it you are trying to do exactly?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jun 2021 14:14:25 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/request-contact-variable-returning-error/m-p/443775#M23455</guid>
      <dc:creator>narmstrong</dc:creator>
      <dc:date>2021-06-03T14:14:25Z</dc:date>
    </item>
    <item>
      <title>Re: {{ request_contact }} variable returning error.</title>
      <link>https://community.hubspot.com/t5/CMS-Development/request-contact-variable-returning-error/m-p/443986#M23473</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/1023"&gt;@narmstrong&lt;/a&gt;&amp;nbsp;narmstrong.&lt;BR /&gt;Actually, in my code, I use&amp;nbsp;&lt;STRONG&gt;request_contact.is_logged_in &lt;/STRONG&gt;to display content based on user login status. It threw the same error message. I don't think it's because I call the dictionary. Here is the actual code.&amp;nbsp;&lt;A href="https://pastebin.com/wkwHsC5X" target="_blank"&gt;https://pastebin.com/wkwHsC5X&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jun 2021 02:09:52 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/request-contact-variable-returning-error/m-p/443986#M23473</guid>
      <dc:creator>afdallah_arafat</dc:creator>
      <dc:date>2021-06-04T02:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: {{ request_contact }} variable returning error.</title>
      <link>https://community.hubspot.com/t5/CMS-Development/request-contact-variable-returning-error/m-p/444162#M23488</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/173506"&gt;@afdallah_arafat&lt;/a&gt; ,&lt;/P&gt;
&lt;P&gt;I would try changing that if statement to just looking for &lt;STRONG&gt;request_contact.is_logged_in &lt;/STRONG&gt; and maybe think more along the lines of is it euqal to true or false&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;{% if request_contact.is_logged_in == true %}&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jun 2021 14:09:43 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/request-contact-variable-returning-error/m-p/444162#M23488</guid>
      <dc:creator>dennisedson</dc:creator>
      <dc:date>2021-06-04T14:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: {{ request_contact }} variable returning error.</title>
      <link>https://community.hubspot.com/t5/CMS-Development/request-contact-variable-returning-error/m-p/444629#M23525</link>
      <description>&lt;P&gt;I tested on the other day it magically works. Not sure what was internally happened with Hubspot.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jun 2021 13:30:56 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/request-contact-variable-returning-error/m-p/444629#M23525</guid>
      <dc:creator>afdallah_arafat</dc:creator>
      <dc:date>2021-06-07T13:30:56Z</dc:date>
    </item>
  </channel>
</rss>

