fix exceptions handling for api
remove unwanted translation entity change
Merge pull request #647 from ahilles107/fix_api_error_handling

Fix api error handling