diff --git a/src/apps/parsers/api_result_urls.py b/src/apps/parsers/api_result_urls.py index 66b7d2d..e4b4980 100644 --- a/src/apps/parsers/api_result_urls.py +++ b/src/apps/parsers/api_result_urls.py @@ -153,7 +153,11 @@ def _upload_view(descriptor: ParserSourceDescriptor): 409: "Загрузка уже выполняется", 413: "Файл превышает лимит", 415: "Неподдерживаемый тип файла", - 422: "Некорректный архив, листы, идентификаторы или вложения", + 422: ( + "Некорректный архив, листы, идентификаторы или вложения" + if descriptor.key == "integrated_structure_documents" + else "Неверные листы, идентификаторы или вложения" + ), }, ) def post(self, request):