# Error while creating HCMS webpages

**URL:** <https://community.novulo.com/t/error-while-creating-hcms-webpages/617>\
**Category:** \[Q&A\] Components, Datasets and Plug-ins\
**Tags:** implementation, cms\
**Created:** [January 13, 2025, 10:36am UTC](https://community.novulo.com/t/error-while-creating-hcms-webpages/617 "2025-01-13T10:36:06Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eddie\_Growrs](https://avatars.discourse-cdn.com/v4/letter/e/8c91f0/32.png) [@Eddie\_Growrs](https://community.novulo.com/u/Eddie_Growrs)\
**Post date:** [January 13, 2025, 10:36am UTC](https://community.novulo.com/t/error-while-creating-hcms-webpages/617/1 "2025-01-13T10:36:06Z")

</div>

I’m trying to configure HCMS webpages. While creating one I encountered an error that keeps popping up everytime I open a HCMS web page, both after pressing the + to create one all the way through finishing setting it up.

 ![image](https://canada1.discourse-cdn.com/flex008/uploads/novulo/original/2X/e/e585b0c09afd5f578a2f1ad885ed8e4a12b6511f.png)

I’ve checked everything and all should be well, but still the error keeps popping up. I’ve configured a website to use the URL, configured webpages according to another application I use as an example. Everything that could be active is active and the only things that are empty are things my example also keeps empty.

---

<div class="post-metadata">

**Author:** ![Yori](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.novulo.com/yori/32/12_2.png) [@Yori](https://community.novulo.com/u/Yori)\
**Post date:** [January 15, 2025, 3:17pm UTC](https://community.novulo.com/t/error-while-creating-hcms-webpages/617/2 "2025-01-15T15:17:21Z")

</div>

Hi Eddie,

This looks suspicious if you get this while _active_ is clearly checked. Which suggests the issue might lie somewhere else.

The best way to figure this out would be to perform a trace, so you can pinpoint which _active_ field it is talking about.  
OR maybe it already provides more info if you put  
`?__setShowVerboseErrorMessages=true` behind your application URL.

Can you share the validation message from the trace or verbose message? This should provide info about the specific record it is looking at that has an active field.

(It could for example be the _active_ field of the user).

---

<div class="post-metadata">

**Author:** ![Eddie\_Growrs](https://avatars.discourse-cdn.com/v4/letter/e/8c91f0/32.png) [@Eddie\_Growrs](https://community.novulo.com/u/Eddie_Growrs)\
**Post date:** [January 17, 2025, 1:50pm UTC](https://community.novulo.com/t/error-while-creating-hcms-webpages/617/3 "2025-01-17T13:50:34Z")

</div>

Both options won’t work. When I use the trace I’m not getting a pop-up or anything to show me where it’s from or what it’s pointing to.

I’ve added the part in the URL, but it still doesn’t give me any info to work with.

 ![image](https://canada1.discourse-cdn.com/flex008/uploads/novulo/original/2X/e/e25dc9969dc9c7a4a1479d6be32c322f4c7fad16.png)

---

<div class="post-metadata">

**Author:** ![Yori](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.novulo.com/yori/32/12_2.png) [@Yori](https://community.novulo.com/u/Yori)\
**Post date:** [January 20, 2025, 12:15pm UTC](https://community.novulo.com/t/error-while-creating-hcms-webpages/617/4 "2025-01-20T12:15:47Z")

</div>

Hi Eddie,

Yeah wasn’t sure the verbose messages was going to help out here, unfortunately it doesn’t.

For the trace I don’t expect a different popup. However within the trace log I do expect that the reason for the validation to be in there.

This post explains more about analysing a trace: [How to start a trace analysis for a Novulo application to find bugs](https://community.novulo.com/t/how-to-start-a-trace-analysis-for-a-novulo-application-to-find-bugs/242)

You should use the “Process” trace element.  
And somewhere in the trace log there should be a mention of “FailedValidationsMessage”.  
Which should include the record for which the validation fails.  
f.e. _users:load(1)_

That’s record the validation fails for, which should help you fix it (by making it active).

---

<div class="post-metadata">

**Author:** ![Joost](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.novulo.com/joost/32/87_2.png) [@Joost](https://community.novulo.com/u/Joost)\
**Post date:** [January 21, 2025, 12:59pm UTC](https://community.novulo.com/t/error-while-creating-hcms-webpages/617/5 "2025-01-21T12:59:24Z")

</div>

you can’t have two question marks in the URL. The /? must be replaced by &  
So: default.aspx?\_\_testmode=true&\_\_setShowVerboseErrorMessages=true

This will highly likely provide you with the exact record type that throws the error.  
Most likely, a data process will try to add/edit another record with a validation error. With the setShowVerbose, the system will tell you which record.

Which version of the HCMS component are you using?

---

<div class="post-metadata">

**Author:** ![Eddie\_Growrs](https://avatars.discourse-cdn.com/v4/letter/e/8c91f0/32.png) [@Eddie\_Growrs](https://community.novulo.com/u/Eddie_Growrs)\
**Post date:** [January 22, 2025, 3:09pm UTC](https://community.novulo.com/t/error-while-creating-hcms-webpages/617/6 "2025-01-22T15:09:07Z")

</div>

I’ve re entered the URL and the error message did indeed change.

 ![image](https://canada1.discourse-cdn.com/flex008/uploads/novulo/original/2X/7/7fbc73061b523b49cd3833a57c332d51eb20ab34.png)

The revision of M8632 I’m using is is 417

---

<div class="post-metadata">

**Author:** ![Yori](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.novulo.com/yori/32/12_2.png) [@Yori](https://community.novulo.com/u/Yori)\
**Post date:** [January 23, 2025, 2:59pm UTC](https://community.novulo.com/t/error-while-creating-hcms-webpages/617/7 "2025-01-23T14:59:31Z")

</div>

Hi Eddie,

This screenshot helps a lot, thanks!

Now that we know the record that is causing the issue, namely: users:load(1) we can fix the issue.  
The reason for the validation error should be easily testable by going to that user record. Click ‘Edit’ \> then click ‘save’ \>\> The result should be a validation error for is\_active.

This is not something that happens often, but it might be the case that trial applications have an Administrator and Webservice account where the is\_active = NULL.

**The fix:** Edit the user record with id=1 (Administrator) and set active to true.  
Note: Might as well do the same for id=2 (Webservice)

–  
_Background info:  
In the component there is functionality build in that provides the preview of the webpage in a certain way. This is based on a setting found in the Settings menu: Web page preview settings.  
This setting can be configured per user. And the process mentioned in the screenshot sets this setting based on the default one (or based on the one chosen one) at the user record._
