My Oracle Support Banner

EM 13c: Executing EMCLI Save_metric_extension_draft Command Fails In Script With Error "Exception while saving draft of metric extension: Invalid metric extension" (Doc ID 2885987.1)

Last updated on JULY 27, 2022

Applies to:

Enterprise Manager Base Platform - Version 13.5.0.0.0 and later
Information in this document applies to any platform.

Symptoms

When executing EMCLI command calling script fails.

- script file created with command

save_metric_extension_draft -target_type=<TARGET_TYPE> -version=<ME Version> -name=<ME\$NAME>

- run EMCLI command

./emcli <PATH_TO_SCRIPT_FILE>

Error
"Exception while saving draft of metric extension: Invalid metric extension: MextID:targetType=<TARGET_TYPE>,name=<ME\$NAME>,version=<ME Version>"

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.