Couldn't connect to Oneflow, when activating the Salesforce extensionIn Oneflow, you will be given an API token. This token allows the Oneflow for Salesforce application to connect to Oneflow. Go to Marketplace in Oneflow to enable the Salesforce extension. Cause: Oneflow for Salesforce API token is missing or no longer valid. Solution: Make sure “Oneflow for Salesforce” is set up by navigating to the Marketplace in the Oneflow app (only visible to users with the Oneflow Administrator permission set) and following the steps shown in the “Get Started” guide. For more information on setting up our application, follow the steps below. OR Cause: Salesforce user's email does not match Oneflow user email. Solution: Make sure the user has the same email on both systems. |
#36 Couldn't find a matching Oneflow user (email) for the Salesforce user. Please contact your Salesforce administrator. (Error #006)Cause: Salesforce user email and Oneflow user email are different. Solution: Ensure there is a registered Oneflow user with the same email address as the current Salesforce user seeing this error. |
Error Occurred: An Apex error occurred: System.ListException: List index out of bounds: 0Cause: This error often occurs after upgrading the Oneflow package. Solution: Go to Setup > Custom Settings > Oneflow Application Settings > Manage. Click Edit. Check the IsProductMappingEnabled checkbox and click Save. |
Request to /agreements/ failed with 400 because Participant with duplicate email XXX@oneflow.comCause: At least two participants have the same email. Solution: When creating a contract, make sure all emails shown in the participants list are different. Also, ensure that none of the participants uses the same email as the Salesforce user creating the contract. |
Request to /agreements/ failed with 400 because Participant with duplicate phone number XXX-XXX-XXXXXCause: At least two participants have the same phone number. Solution: Ensure all phone numbers in the participants list are unique. |
parties[0].country_code — (‘Sweden’ is not a ‘country_code’)Cause: Country mapping is set to a field where the value is “Sweden” instead of the ISO country code “SE”. Solution: Update the field value to use the ISO country code (e.g., SE) instead of the country name. |
Error when creating contract. Error: oneflow_mapping_data_fieldsCause: User profile is missing required permissions (often occurs for non-admin users). Solution: Make sure the following permissions are granted to the user’s profile. Administrative Permissions: General User Permissions: |
Permission Error when creating a contract (CRUD/FLS Validation)Overview What Changed Why You’re Seeing This Error How to Fix the Issue
Example
Summary |