Data Protection Advisor – Felkod 400 för skript före eller efter

Summary: Få ett fel 400 när du kör en rapport som har ett skript kopplat till.

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

Felet observeras när du försöker köra en rapport som har ett associerat skript.
Error 400:
Resulting file is outside common scripts directory

image.png

Observation från serverloggen (programservern: <installationsdir>\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

Orsaken till felet är att DPA förväntar sig att skripten ska finnas i en specifik katalog.
Skript kommer inte att bearbetas om de placeras utanför den utformade katalogsökvägen.

Resolution

Enligt administratörshandboken
måste du placera skript i <install-dir>/services/shared/commands
Placera skriptet på platsen ovan för att lösa problemet.

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.