Display API response error message while adding user to the Admin Panel, instead of generic Warning error message

Strapi v4.1.1
Hi there,
A validation error message of Inviting users Strapi backend is too generic (backend → Settings->Administration panel: users). I have checked a network call, and the proper error message is being returned but the validation error popup says “Warning: An error occurred”.
It’ll be fixed if I am able to show the response message to the popup.
How can I fix this?

Thanks in Advance