Data Protection Advisor - Ön veya Son komut dosyaları için 400 Hatası

Summary: İlişkili komut dosyasına sahip bir rapor çalıştırılırken 400 Hatası alınıyor.

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

İlişkili komut dosyasına sahip bir raporun çalıştırılması denendiğinde hata gözlemleniyor.
Error 400:
Resulting file is outside common scripts directory

image.png

Sunucu günlüğünden gözlemler (uygulama sunucusu: <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

Bu hatanın nedeni DPA'nın komut dosyalarının belirli bir dizinde olmasını beklemesidir.
Komut dosyaları, tasarlanan dizin yolunun dışına yerleştirilirse işlenmez.

Resolution

Yönetici Rehberine göre:
Komut dosyalarını <install-dir>/services/shared/commands konumuna yerleştirmelisiniz
Komut dosyasının yukarıdaki konuma yerleştirilmesi sorunu çözecektir.

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.