ORA-54402
The "function" field is missing in the JSON metadata.
Cause
The "function" field is not specified in the metadata.
Action
Ensure that the "function" field is specified in the JSON metadata, and set to one of the following: regression, classification, clustering, or embedding.