Data Protection Advisor. Ошибка 400 для сценариев Pre или Post

Summary: Получение ошибки 400 при запуске отчета, связанного со сценарием.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

Ошибка возникает при попытке запуска отчета, связанного со сценарием.
Error 400:
Resulting file is outside common scripts directory

image.png

Наблюдения из журнала сервера (сервер приложений: <каталог установки>\emc\dpa\services\logs\server):
2021-01-22 11:24:10,556 ERROR [com.emc.dpa.restapi.util.DPAExceptionMapper] (http-/0.0.0.0:9002-3) Exception caught. Building error response. Exception was...: javax.ejb.EJBTransactionRolledbackException: Input validation failed for object ScheduledReport Original message: Resulting file is outside common scripts directory: <Path to customer defined script> (exception.input_validation_error)
.
Caused by: com.emc.dpa.common.exception.DPAException: Input validation failed for object ScheduledReport Original message: Resulting file is outside common scripts directory: <Path to customer defined script> (exception.input_validation_error)

Cause

Причина этой ошибки заключается в том, что DPA ожидает, что сценарии находятся в определенном каталоге.
Сценарии не будут обработаны, если они находятся за пределами указанного пути к каталогу.

Resolution

Как указано в руководстве администратора:
Необходимо поместить сценарии в каталог <каталог_установки>/services/shared/commands 
Если поместить сценарий в указанное местоположение, проблема будет устранена.

Affected Products

Data Protection Advisor
Article Properties
Article Number: 000200217
Article Type: Solution
Last Modified: 10 Nov 2022
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.