The attached screenshot shows the current way of displaying error message in non-English Wikidata.
There are 2 error messages in different languages which may confuse the users. Moreover, the error message written in English is the original error message which triggered by the API.
We should rethink or redesign how we can display the error message such that there is only one error message that is shown and it is understandable by the non-English users.