Ok you have the message in the UI as a response of the call, right?
It means the error occurs in your admin backend (422 is unprocessable entity).
You should see a bit more info about it. Are you working in your development environment? If yes you should see the SQL queries that are tried to be executed at the moment.