Data Protection Advisor – błąd 400 w przypadku pre i postskryptów

Summary: Wystąpienie błędu 400 podczas uruchamiania raportu z powiązanym skryptem.

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

Błąd występuje podczas próby uruchomienia raportu z powiązanym skryptem.
Error 400:
Resulting file is outside common scripts directory

image.png

Uwagi z dziennika serwera (serwer aplikacji: <install dir>\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

Przyczyną tego błędu jest to, że DPA oczekuje, że skrypty znajdą się w określonym katalogu.
Skrypty nie będą przetwarzane, jeśli zostaną umieszczone poza określoną ścieżką katalogu.

Resolution

Zgodnie z podręcznikiem administratora:
Należy umieścić skrypty w katalogu <install-dir>/services/shared/commands 
Umieszczenie skryptu w powyższej lokalizacji rozwiąże problem.

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.