I've been working on a custom operator to calculate a percentage from two numeric parameters.
It works fine when I test it with client test tool.
But when I try to use it a dashboard itself, it fails with the following error:
By looking to the Browser Developer tools, I don't see any error in the Network tab.
Can you please advise on how can I investigate and resolve this?
I've been using this custom operator: SkylineCommunications/SLC-GQIO-PercentageCalculation: Custom operator that allows the user to calculate a percentage for 2 columns. (github.com)
This makes me think of a serialization error, where the api sends invalid json to the client. You can quickly verify this by inspecting the preview tab of GetNextQuerySessionPage, if it can be expanded properly or bot (chromium can't deal with invalid json in the preview tab either). To see what part is invalid, you can copy the raw response string from the response tab and pass it through a json validator of your choice. I expect something like NaN or Infinity to be present in there, those are numeric values that are not valid json.
If that's the case, you can adjust the custom operator to avoid such values, by for instance not dividing by zero.