Data Protection Advisor - 前置脚本或后置脚本的错误 400
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
尝试运行具有关联脚本的报告时,观察到该错误。
来自服务器日志(应用程序服务器:<install dir>\emc\dpa\services\logs\server)的观察报告:
Error 400: Resulting file is outside common scripts directory
来自服务器日志(应用程序服务器:<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
造成此错误的原因是 DPA 期望脚本位于特定目录中。
如果您将脚本放置在设计的目录路径之外,那么这些脚本不会得到处理。
如果您将脚本放置在设计的目录路径之外,那么这些脚本不会得到处理。
Resolution
根据管理员指南:
您必须将脚本放置在 <install-dir>/services/shared/commands
将脚本放置在上述位置可解决问题。
您必须将脚本放置在 <install-dir>/services/shared/commands
将脚本放置在上述位置可解决问题。
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.