Loading

OmniStudio Component Activation Fails or Takes Too Long with Puppeteer/VBT After MFA Enablement When Using JWT Authentication

Date de publication: Oct 5, 2026
Description

Customers using VBT with Puppeteer for OmniStudio deployments may experience failures or prolonged processing when activating OmniStudio components after MFA has been enabled.

Deployment logs may show messages similar to:

Starting OmniScript LWC Activation >> OmniScript/<OmniScriptName> (<RecordId>)

OmniScript/<OmniScriptName> >> Loading Page taking too long - Retrying - Tries: 0 of 120
OmniScript/<OmniScriptName> >> Loading Page taking too long - Retrying - Tries: 1 of 120
OmniScript/<OmniScriptName> >> Loading Page taking too long - Retrying - Tries: 2 of 120
...
Activation took longer than X minutes - Aborting

Résolution

Root Cause:
When MFA is enforced, the deployment user and JWT application must be configured correctly for Puppeteer to establish the required Salesforce web session.

A token without the web scope can be used for API operations but cannot establish the web session required for LWC activation. If the deployment user has not completed MFA registration or the JWT application does not include the web scope, activation will fail or remain in a retry state.

Resolution:

Part 1. Complete MFA registration for the deployment user

1. Log in to the Salesforce org as the deployment user.
2. Complete the required MFA registration.
3. Configure a supported MFA method, such as a passkey, according to the org's MFA requirements.

Part 2. Add the web scope to the JWT application

1. In Setup, open the External Client App or Connected App used for JWT authentication.
2. Open the OAuth settings and confirm that the following scopes are included:
   - Manage user data via APIs (api)
   - Perform requests at any time (refresh_token, offline_access)
   - Manage user data via Web browsers (web)
3. Save the changes.

Part 3. Retry the deployment

1. Re-authenticate using JWT.
2. Retry the VBT deployment.

Long-Term Recommendation:
Consider moving to the OmniStudio Standard Runtime and supported deployment capabilities to reduce dependency on legacy VBT and Puppeteer-based activation.

Numéro d’article de la base de connaissances

005408529

 
Chargement
Salesforce Help | Article