Data Protection Advisor – Fehler 400 bei Pre- oder Post-Skripten
Summary: Auftreten eines Fehlers 400 beim Ausführen eines Berichts, dem ein Skript zugeordnet ist.
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
Der Fehler wird beim Versuch beobachtet, einen Bericht auszuführen, dem ein Skript zugeordnet ist.
Beobachtungen aus dem Serverprotokoll (Anwendungsserver: <Installationsverzeichnis>\emc\dpa\services\logs\server):
Error 400: Resulting file is outside common scripts directory
Beobachtungen aus dem Serverprotokoll (Anwendungsserver: <Installationsverzeichnis>\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
Der Grund für diesen Fehler ist, dass DPA erwartet, dass sich die Skripte in einem bestimmten Verzeichnis befinden.
Skripte werden nicht verarbeitet, wenn sie außerhalb des vorgesehenen Verzeichnispfads platziert werden.
Skripte werden nicht verarbeitet, wenn sie außerhalb des vorgesehenen Verzeichnispfads platziert werden.
Resolution
Gemäß Administratorhandbuch:
Sie müssen Skripte in <Installationsverzeichnis>/services/shared/commands platzieren.
Wenn Sie das Skript am obigen Speicherort platzieren, wird das Problem behoben.
Sie müssen Skripte in <Installationsverzeichnis>/services/shared/commands platzieren.
Wenn Sie das Skript am obigen Speicherort platzieren, wird das Problem behoben.
Affected Products
Data Protection AdvisorArticle 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.