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
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.
005408529

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.