rescue json errors and raise ApiErrors with ondoklassniki response as messege