RemoteException: INTERNAL (Default:Internal) when writing embeddings to Ontology object via AIP Logic Action

Problem

I’m building an AIP Logic pipeline that processes a PDF and creates a Knowledge Article object. The workflow is:

  1. Extract text from a PDF media reference

  2. Use an LLM to generate structured fields
    (Title, Short Description, Content, Category, Tags, Key Points, Content Type, Entities)

  3. Generate text embeddings using text-embedding-ada-002

  4. Convert the embedding output to Array

  5. Call a Create Knowledge Articles ontology action to write the data to an object

All upstream blocks execute successfully during preview (PDF extraction, LLM output, embedding generation). However, the final Ontology Action fails.

Error

RemoteException: INTERNAL (Default:Internal)

Trace ID: 11896d79c7214279

Error ID: b4d93c5-95df-47fb-a560-f765603daa8b

The failure occurs specifically in the Create Knowledge Articles action block.

In the debugger, the action shows:

Arguments: {}

Even though all fields appear correctly mapped in the Logic block.

Questions

  1. What does RemoteException: INTERNAL (Default:Internal) typically indicate for Ontology actions executed from AIP Logic?

  2. Is there a way to retrieve more detailed logs using a Trace ID?

  3. Are there limitations when writing embedding vectors (Array) to ontology properties via actions?

  4. Why might the debugger show Arguments: {} even when inputs are mapped?

Any guidance would be appreciated.

Hello @roushan.kumar ,

I have passed your feedback to our product teams to improve the error message here.

As for the actual error, could you please ensure that the Media Reference property on your object type has a mediaset attached to it in the Capabilities section of the object type?

More details on this can be found here - https://www.palantir.com/docs/foundry/object-link-types/base-types#configure-media-reference-properties

Thanks.