Loading

Apex Steps fail to execute with Invalid Session error message when having the "Require HttpOnly attribute" session setting enabled

Data pubblicazione: Aug 10, 2026
Descrizione
The following article details why Apex Steps fail to execute with an Invalid Session error message in Analytics Studio when the "Require HttpOnly attribute" session setting is enabled in the org and the options available to workaround this expected behaviour. 
Risoluzione

There are two workarounds for this issue.

Workaround Option 1: Disable the Session Setting

Disable the "Require HttpOnly attribute" session setting in Setup.

Workaround Option 2: Use the Analytics Studio Wave App URL

Open Analytics Studio and replace the /analytics/wave/wave.apexp portion of the URL with /wave/wave.app, for example: 

https://your_domain_name.my.salesforce.com/wave/wave.app 

This URL uses standard Lightning Authentication instead of the Session Id cookie, so the Invalid Session error does not occur.
Note: Apex Step is currently a beta feature.

Risorse aggiuntive

Session Security Settings — Salesforce Help

Numero articolo Knowledge

000380654

 
Caricamento
Salesforce Help | Article