1

I'm trying to understand if it's a good practice to use error toast to show the error code/number (like error -XXX) besides the error message. Something like this:


There was a problem fetching the data. Please try again. Error -XXX


This was a feedback from the operations team, that always feel lost about some error tickets they receive. And somehow that would help them to identify the problem.

2 Answers 2

1

Toasts are temporarily visible. They disappear after a few seconds or can be manually dismissed by the user. (If this is not the case, they are possibly an annoyance to your users). So you can't rely on toasts and should have something more permanent. This can be a page where log messages are stored for a longer period. The scenario is like this:

  1. The user performs the action
  2. He/she does other stuff while the action is in progress
  3. The toast appears with the clear message the action failed
  4. Still concentrated on the current task the user notices the message briefly before it disappeared
  5. The user calls support for help
  6. Support guides the user to the log page and asks for the error message and code

This has a few advantages:

  1. Users aren't bothered with strange messages with error codes
  2. Users don't have to remember the messages or codes
  3. While toasts can be missed, this allows for a more permanent notification: The link to the log page can be used to notify about occurred errors or important messages. Like a badge with a number or icon that disappears after the page was visited (and the messages were read).
0

The main question is what you're designing for. Is it for a staging release? if yes, then it could be faster for you dev to catch the error. I think an end user of a digital product (b2b or b2c) wouldn't benefits of this messages.

1
  • Here is more info: As a User I want to be able to find and provide more information to Support Team when I have error messages So that I can have quicker responses from my tickets. Goal: The goal of this implementation is to make possible for us to have more information on the Error Toast Messages (such as the Id, Timestamp, etc). This way, it will be possible for the users to provide us them so we can quickly find the errors.
    – Marta
    Commented Sep 14, 2023 at 13:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.