# Liquid error: object type "System.Int64 can not convert to "System.Int32"

**URL:** <https://www.finalbuilder.com/forums/t/liquid-error-object-type-system-int64-can-not-convert-to-system-int32/6733>\
**Category:** Bugs\
**Created:** [March 2, 2020, 2:22pm UTC](https://www.finalbuilder.com/forums/t/liquid-error-object-type-system-int64-can-not-convert-to-system-int32/6733 "2020-03-02T14:22:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sa\_thomaslohrum](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/s/ecd19e/32.png) [@sa\_thomaslohrum](https://www.finalbuilder.com/forums/u/sa_thomaslohrum)\
**Post date:** [March 2, 2020, 2:22pm UTC](https://www.finalbuilder.com/forums/t/liquid-error-object-type-system-int64-can-not-convert-to-system-int32/6733/1 "2020-03-02T14:22:54Z")

</div>

Hi,

we have updated to version 1.9.1.607 today. Running a build we get the following error which occurs, when creating e-mail notifications.

**Error:**  
Liquid error: Das Objekt mit dem Typ “System.Int64” kann nicht in den Typ “System.Int32” konvertiert werden.

The error is caused by the usage of “truncate”.

The relevant part of the template:

```
				{% assign sortedChangeSets = (Changesets | sort: "Created") -%}
				{% for change in sortedChangeSets reversed -%}
    			<tr>
        			<td>
        				{{change.RepositoryChangeId | truncate: 10}}
        			</td>

```

The workaround is to remove the string part “| truncate 10”.

Thomas

---

<div class="post-metadata">

**Author:** ![Sparky](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/sparky/32/10_2.png) [@Sparky](https://www.finalbuilder.com/forums/u/Sparky)\
**Post date:** [March 3, 2020, 5:36am UTC](https://www.finalbuilder.com/forums/t/liquid-error-object-type-system-int64-can-not-convert-to-system-int32/6733/2 "2020-03-03T05:36:26Z")

</div>

Hi Thomas,

Thank you for reporting this. Version 1.9.1.607 contains an updated version of DotLiquid which has introduced this bug. See [https://github.com/dotliquid/dotliquid/pull/365](https://github.com/dotliquid/dotliquid/pull/365).

We’ll upload a new official version of Continua CI in the next couple of days. Meanwhile you can install a hotfix, with the DotLiquid package reverted to the earlier version, using the following links:

- [Download Continua CI Server v1.9.1.610 (Hotfix) (64 bit)](http://downloads.finalbuilder.com/downloads/continua/1.9.1/ContinuaCI.Server.Setup_x64_1.9.1.610.Hotfix.exe)
- [Download Continua CI Agent v1.9.1.610 (Hotfix) (64 bit)](http://downloads.finalbuilder.com/downloads/continua/1.9.1/ContinuaCI.Agent.Setup_x64_1.9.1.610.Hotfix.exe)
- [Download Continua CI Agent v1.9.1.610 (Hotfix) (32 bit)](http://downloads.finalbuilder.com/downloads/continua/1.9.1/ContinuaCI.Agent.Setup_1.9.1.610.Hotfix.exe)

---

<div class="post-metadata">

**Author:** ![sa\_thomaslohrum](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/s/ecd19e/32.png) [@sa\_thomaslohrum](https://www.finalbuilder.com/forums/u/sa_thomaslohrum)\
**Post date:** [March 3, 2020, 7:28am UTC](https://www.finalbuilder.com/forums/t/liquid-error-object-type-system-int64-can-not-convert-to-system-int32/6733/3 "2020-03-03T07:28:12Z")

</div>

Thanks a lot Dave. I’ve just installed the hotfix and reconfigured the template. 🙂
