Make APIException more specific for translation errors