Axios errors should already be being logged to the console without you needing to do anything. This is because almost all API calls are wrapped in createActionThunk() which runs the AxiosRequest and logs errors that occur.
I want to believe you are fixing a validation issue but before you think of an error to be displayed ensure at some point or another the page wasn’t displaying the error when it happened. To achieve this , type console.log() in your code base (in the .tst page where you are supposed to make the changes) then save. This command helps to print the information of a given page but it is not part of the changes to be committed. Then go to the page where the changes are to be made on your server -> Right click ->inspect -> console to confirm the error thrown. After confirming if the error exists or not that is when you take the next step of how to display the missing error. I pray I don’t confuse you more.
This is the path to the page you are supposed to make the changes on src>app>dictionaries>components>DictionaryVersionForm.tsx look at the error in the prop
@nkumar If you need to add an error message for a particular status code that doesn’t have a message from the backend, you may want to take a look at the STATUS_CODES_TO_MESSAGES construct.