App Intents: requestConfirmation method not working with Siri invocation

Hello,

I am implementing an App Intent which shows a confirmation dialog before proceeding with the operation execution. It works fine when the intent is started from a shortcut, but it always fails when started from Siri: I obtain the error message depicted in the attached screenshot ("An error occurred, try again"). That message appears as soon as the requestConfirmation method is called in the perform method of my App Intent:

try await requestConfirmation(actionName: .do, dialog: "app_intent_sim_confirmation_message") {
    SIMRechargeIntentSummaryView(...)
}
...

How can I solve the problem? Thanks

App Intents: requestConfirmation method not working with Siri invocation
 
 
Q