Hello.
I have created a REST Endpoint that gets all object types from Insight, using Insight's REST API.
I have also created a Behavior to load a text field consuming the REST Endpoint. I use the script in the initialization section.
The Endpoint works and the text field is loaded when I open the issue screen (to create or edit), however, if I look for another result, the Behavior no longer works.
What can be the problem that does not allow me to search for more results?
I share the log of the REST Endpoint that shows no errors.
The first time the field is loaded without problems:

When doing another search, no results are found:

The endpoint shows no errors, and returns the matches found, but the field is not loaded with the new value.

Any suggestion? Thank you.