Showing error message in a dialog

I wanted to know is there any way to show error messages other than in the debug console.

For example in editor if the user authentication fails then is it possible to show a dialog showing the error instead in the debug console

I am trying to login a user and if it is successful I want to display a list of files otherwise I need a popup or a dialog which shows the authentication has failed.

Your question is a bit unclear.

Are you developing a contrib node?

What kind of user is logging into what system?

Hi @syedhannan

Assuming you mean within the editor, you can use:

RED.notify('A message here', { type: 'error' })

Docs here: RED.notify : Node-RED

1 Like

If you mean in the node red dashboard then you can use a Notification node.

An example

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.