issueViewedEvent throws multiple errors unexpectedly, with no obvious cause

Hello,
I have an app that calls the issueViewedEvent. It was working without any errors. Today I wanted to make some changes and after running the forge tunnel command it suddenly started logging the following errors, without any issue views being triggered.

Even if my code is cleaned up to this form, the error still occurs:

However, the app still works correctly in the development environment.

Does anyone know what might be causing this? Is it something I should be worried about?

Cheers

Hi @ITKobe

Thanks for reaching out!

We are aware of a bug that was introduced in the last released version of the CLI (11.2.0):

A Forge CLI 11.2.0 bug incorrectly prevented forge tunnel from invoking Forge functions whose handlers were not in the src/index.js or src/index.ts files.

We have a bugfix planned for the upcoming CLI release (11.3.0) that should happen next week.

Please keep an eye out on our DAC changelog for the announcement.

In the meantime, please downgrade the CLI version to 11.1.0 which does not include the bug.

Hope this helps.

1 Like