Realm Trigger suspended: unexpected error occurred

I get this error every few days in realm trigger as shown in attached screenshot
Trigger Type: Database
Operation Type: Update
Full Document: ON
Event Type: Function

How do i find what is causing this error?

Hi Nirali,

Would you mind providing the Realm app id so we can look into the logs ?
Please also navigate to the triggers page, does it say this trigger is suspended? If so please try restarting it via the buttons available.

Regards
Manny

Application ID: application-0-zrnvm
I already tried restarting . but it restarts sometimes and sometimes keep getting suspended

Please check logs from date range from following screenshot
FROM: 03/16/2022 12:00 AM IST TO: 03/17/2022 12:00 AM IST
Status: Error

Hi Nirali,

Thanks for that, I was able to dive deeper into that error.

It appears this is due to a bug for which a fix is ready and currently in code review.
The should be released by end of this week, please check again if this error is still happening on Thursday and respond if there are any issues.

In the mean time, please continue restarting the trigger when it gets suspended.
Note that letting it sit in the suspended state for too long can result in the resume token being lost which will mean the trigger cannot process past events retro-actively.

Regards
Manny

2 Likes

Hi,

I re-enabled the trigger again.
but it is still getting suspended with unexpected error as shown in screenshot

Hi Nirali,

The fix is still in review and hasn’t been released yet but I’ll remember to let you know when it is.

Regards
Manny

Hi,

Is the fix released?
or can you tell me the issue? maybe i can handle it temporary from my side until your fix is released?

Hi Nirali,

This is still in progress.
Unfortunately there is no workaround for this you can do on your end.

I’ll see if there’s anything else we can try in the interim.

Regards
Manny

1 Like

Hi Nirali,

Thank you for your patience.
A fix for this problem has been released today!

Regards

2 Likes

Hi,

I started trigger again. but it suspended in just 15 min

Hi Nirali,

The trigger looks to be running currently.
If this happens again please do raise a support ticket and attention me with a link to this thread.

Regards
Manny