How to handle this type of formet error

i am updating a timesheet with 8 hours a day but for testing perpose i put some random string in table and my bot is stop working how i can handle this type of exception this is not excel file this form based on company website like i want to put 8 hours in wedness day
please

Use Check App State to look for the error message box

i am not getting how i can handle withUse Check App State activity

After your automation enters the value, you use Check App State to see if the error box appeared.