Dismissing a broadcast message could raise an error
Broadcast messages are displayed to unauthenticated user:
If they dismiss these banners a message will be sent to Sentry.
I see two possible solution.
- Hide the close button to unauthenticated users
- Allow to close the banner or the notification, but only do the API call if the current user is authenticated.
Edited by Eduardo Sanz García