diff --git a/tailbone/api/batch/core.py b/tailbone/api/batch/core.py index f239aaaf..c98e01f1 100644 --- a/tailbone/api/batch/core.py +++ b/tailbone/api/batch/core.py @@ -333,6 +333,9 @@ class APIBatchRowView(APIBatchMixin, APIMasterView): msg = "Feature is not implemented" return {'error': msg} + if not row: + return {'error': "Could not identify product"} + self.Session.flush() result = self._get(obj=row) result['ok'] = True