Manually started timer did not run

Hello team,

I have a timer that runs every X seconds. I have started today this timer for test purposes manually a couple of times. I received the browser message that the timer ran succesfully. But, nothing happened. I cannot see a log entry, no database update and I do not receive the mandatory email as a result of the timer run.

Could you please check. Thank you in advance.

Regards, Joerg

Hi @Jorg_Beyer,

could you please provide your App ID and Timer name?

AppId: 66C2DBD4-189A-7377-FF95-915D98235700
Timer Name: dailyTrendFollowingUpdate

Hi @Jorg_Beyer,

In your logs, you can find the following entry:

2024-06-14 11:02:01,437 | SERVER_CODE |  INFO | [847068] [7E4B0818-8167-4922-9F04-69DC6BBEB93F] [INVOKE TIMER] dailyTrendFollowingUpdate
2024-06-14 11:02:01,698 | SERVER_CODE | ERROR | [847068] TypeError: j.split is not a function
    at Object.execute (/opt/backendless/repo/66c2dbd4-189a-7377-ff95-915d98235700/files/servercode/CODELESS/default/PRODUCTION/timers/dailytrendfollowingupdate.js:78:27)

The error message indicates that j is not a string (text type).

Looking at the logic of the timer, I see this block:

You are not receiving any emails because this logic is not inside a try/catch/finally block. If an error occurs, it is not caught, and the code does not proceed to the finally block.

Try debugging the value inside the j variable, and place all your logic inside the try block to ensure any errors are caught.

Regards,
Stanislaw

Thank you, I did not see the error