Contents
- Overview
- Error / Symptom
- Root Cause
- Solution
- Validation / Confirmation
- Notes / Common Pitfalls
- Frequently Asked Questions
Overview
In a Salesforce Full Copy sandbox running CloudSense package version R37, saving CloudSense line items can fail with the error:
“Configurator Engine experienced an error: first of 1 error: All Endpoints failed, cannot serve the request”
This commonly occurs after a sandbox creation/refresh when the Salesforce Connected App used by CloudSense for authentication (CloudSense Digital Fulfilment Application) is not correctly authorized for the affected user(s). Updating the Connected App policy to pre-authorize users and explicitly granting access typically resolves the issue.
Error / Symptom
Error message (verbatim):
“Configurator Engine experienced an error: first of 1 error: All Endpoints failed, cannot serve the request”
Typical symptoms:
- Saving any line item configuration fails (including very simple products).
- The issue occurs regardless of product type (for example, GAM-served vs non-GAM-served).
- Other actions (such as availability checks) may still work.
Root Cause
The Salesforce Connected App “CloudSense Digital Fulfilment Application” is not correctly authorized/granted for the user(s) executing the save. As a result, calls that require the Configurator Engine authentication/authorization path fail and return the “All Endpoints failed” error.
This is an environment/access configuration issue commonly seen after Full Copy sandbox creation/refresh (rather than a product configuration problem).
Solution
Apply the following steps in Salesforce to explicitly pre-authorize the Connected App and grant the required users access.
1) Update the Connected App “Permitted Users” policy
- In Salesforce, go to Setup → App Manager.
- Find CloudSense Digital Fulfilment Application.
- Open the app details and edit the app’s policies/settings.
- Set Permitted Users to “Admin approved users are pre-authorized” (instead of “All users may self-authorize”).
- Save the changes.
2) Explicitly grant access to the appropriate users (profiles/permission sets)
Because the app is now admin-pre-authorized, you must explicitly allow the intended users:
- Go to Setup → Connected Apps → Manage Connected Apps.
- Select CloudSense Digital Fulfilment Application.
- Assign/allow the required Profiles (or use the appropriate Permission Set approach in your org) so that the affected users are authorized to use the app.
3) Retest saving line items
- Log in as an affected user.
- Re-open the sales order / configurator flow.
- Attempt to Save the line items again.
Validation / Confirmation
The issue is resolved when:
- Line items save successfully without the error:
“Configurator Engine experienced an error: first of 1 error: All Endpoints failed, cannot serve the request”
- The same save works for multiple product configurations (including previously failing simple configurations).
Notes / Common Pitfalls
- After a sandbox refresh, Connected App authorization and access policies may not match production.
- If Permitted Users is set to admin pre-authorized but profiles/permission sets are not granted, users may still fail to authenticate for required backend calls.
- If the issue affects all line-item saves regardless of product type, it strongly suggests an environment/authentication/access problem rather than a product configuration issue.
Frequently Asked Questions
- 1. How do I know I’m hitting this same issue?
- You’ll see the exact message
“Configurator Engine experienced an error: first of 1 error: All Endpoints failed, cannot serve the request”when saving line items, often in a newly created/refreshed sandbox. It typically fails for all line item saves regardless of product type. - 2. Does this indicate a CloudSense product defect?
- Not typically. In this scenario, the cause was Salesforce Connected App authorization/access not being correctly granted for “CloudSense Digital Fulfilment Application” in the sandbox environment (an environment/access configuration issue).
- 3. What should I verify after changing “Permitted Users” to admin pre-authorized?
- Confirm that the intended user profiles (or permission sets) are explicitly granted access to the Connected App under Setup → Connected Apps → Manage Connected Apps, then retry saving line items as an affected user.
- 4. What if the save still fails after updating the Connected App settings?
-
Re-check the following:
- You edited the correct Connected App (correct name and target org): CloudSense Digital Fulfilment Application.
- The affected users are included via the intended profiles/permission sets.
- You retested using the same user who experiences the error.
Matej Storga
Comments