# Errors on Trigger running a TULIP table Connector

**URL:** https://community.tulip.co/t/errors-on-trigger-running-a-tulip-table-connector/15397
**Category:** Support, Troubleshooting, & Help
**Created:** [July 23, 2025, 10:04am UTC](https://community.tulip.co/t/errors-on-trigger-running-a-tulip-table-connector/15397 "2025-07-23T10:04:47Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![paul.genoud](https://avatars.discourse-cdn.com/v4/letter/p/f14d63/32.png) [@paul.genoud](https://community.tulip.co/u/paul.genoud)
#### Post date: [July 23, 2025, 10:04am UTC](https://community.tulip.co/t/errors-on-trigger-running-a-tulip-table-connector/15397/1 "2025-07-23T10:04:47Z")

</div>

Hi All,

I have some issues with a Trigger that must Run a connector function.

Here is my use case, I made a Connector Function that must run an Count Aggregation.  
Here is how it is configured :

 ![image](https://us1.discourse-cdn.com/flex020/uploads/agilemfg/original/2X/9/9e5f2bae6a339f2d0b7d4c7b0e3f4e9614323a40.png)

I want to count the id in a table, filtered like following :  
Date  
Component  
Step Name

When I use the “Run” function in the connector, It works perfectly fine.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/agilemfg/original/2X/9/94560b65b2632790817e1779aaa57f19a82d35b7.png)

To run this connector function, I used it in a Trigger when my step is opened.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/agilemfg/original/2X/2/248c94133476e152977b65646f86f395b6b756ba.png)

But when I launch the app to test and enter the step, I have an error message on this trigger.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/agilemfg/original/2X/a/a609e3e5e17c8856e118bfcde4e0e8d0663d7c06.png)

Any ideas on what I did wrong ?

Thanks !  
Paul

---

<div class="post-metadata">

### Author: ![nicolo.lagravinese](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tulip.co/nicolo.lagravinese/32/8518_2.png) [@nicolo.lagravinese](https://community.tulip.co/u/nicolo.lagravinese)
#### Post date: [July 23, 2025, 5:37pm UTC](https://community.tulip.co/t/errors-on-trigger-running-a-tulip-table-connector/15397/2 "2025-07-23T17:37:51Z")

</div>

Hi Paul, thanks for sharing the details and screenshots.

Your trigger is passing a Datetime value, but the DateDuJour input must be a Number (epoch seconds). That mismatch causes the runtime error.

Here’s what to adjust:

1. In your trigger, wrap the date expression with:

texttonumber(ROUNDDATETIME(App Info.Current Date and Time, ‘day’))

1. Confirm the DateDuJour variable is set to Number type.

2. Ensure Composant and NomEtape are both Text variables.

3. If errors persist, try hardcoding values to verify each input.

This converts the datetime into a numeric value the connector expects. See the typecast functions here:

> **[Typecast expressions](https://support.tulip.co/docs/typecast-expressions)**

Let me know if this resolves it or if you see a different error.

---

<div class="post-metadata">

### Author: ![paul.genoud](https://avatars.discourse-cdn.com/v4/letter/p/f14d63/32.png) [@paul.genoud](https://community.tulip.co/u/paul.genoud)
#### Post date: [July 25, 2025, 6:55am UTC](https://community.tulip.co/t/errors-on-trigger-running-a-tulip-table-connector/15397/3 "2025-07-25T06:55:41Z")

</div>

Hi Nicolo,

Thank you for your feedback.  
I don’t really know how but I managed to make the connector working with the following configuration for DateDuJour :

 ![image](https://us1.discourse-cdn.com/flex020/uploads/agilemfg/original/2X/e/ea41e13b394eccdaaa04a82e7b96dcc98448ad5d.png)

And the same values in the Trigger of my App :

 ![image](https://us1.discourse-cdn.com/flex020/uploads/agilemfg/original/2X/d/d9aa068d100dcedf3bb3eeeecb9aed27ccdb0949.png)

I tried to use the TEXTONUMBER like you said but I have this error message :

 ![image](https://us1.discourse-cdn.com/flex020/uploads/agilemfg/original/2X/8/8fcf4e93950a8fd84f2f72e98af66d99c984b2e9.png)

Thanks,  
Paul
