Data App works on WebPortal only with Admin server credentials

Hello,

I have shared a Data App through the KNIME Server and it runs successfully on the WebPortal when I run it using the admin account. However, since I want to share the app with someone else and I don’t want to give them the admin account credentials I have created a user account for them to log in to the WebPortal and run the app.

The problem is that one of the charts included in the app interface returns errors when it is run using that non-admin account. It is a simple bar chart created using the “Generic Echarts View” node. Here are the screenshot of the error message (and some warning messages) I get:


image
image

I have tried different browsers and computers, but it happens all the times I run the workflow using the user account. Any insights what could be the cause?

Thanks,
Behrooz

Hi Behrooz,

unfortunately, this error is specific to the workflow that is run so that you’d need to inspect the workflow job in order to further debug why this fails.

For KNIME Server, using our client’s “Classic UI” you can inspect a job running on the server using the Remote Workflow Editor extension. Details and installation here:
https://docs.knime.com/2023-12/analytics_platform_best_practices_guide/index.html#_remote_workflow_editor

(For anyone on KNIME Business Hub: we’re currently launching the successor, that allows you to inspect jobs via the web browser)

I hope this helps dig deeper into the error.

Kind regards
Marvin

1 Like

Hi Marvin,

Thanks for your prompt response. I will use the extension to look into the error.

But my question is that if it is something specific to the workflow, shouldn’t it happen when I run the workflow using the admin account? It’s somewhat strange that it occurs by changing the type of server account. That’s why I thought it should be related to the server authentication settings. Am I wrong?

Best,
Behrooz

Hi Behrooz,

I agree, this is a less common error. However, this can come up e.g. if the workflow uses the user credentials to call other workflows or access server files. Then, it could be that it receives different (or no) data and hence other nodes don’t get the data they expect down the line.

I hope the investigation proves to be insightful.

Kind regards
Marvin

The investigation using the remote editor did not showed any errors! Apparently the issue was about the Generic Echarts View node. I replaced that with a Bar Chart node and now it runs smoothly on the WebPortal using either admin or user accounts.

1 Like