Display callback error message

Hi All,

I am trying to display callback error in app, whenever user click on submit button and if it’s database not able to connect.

If anyone can suggest or share code block.

1 Like

Any one have any update

Consider using the dbc.Alert component. Put the Alert as an output of the callback with the database connection and show it if the connection fails. The examples under “Dismissing” or “Automatic Dismissal” might fit your needs.

1 Like