Home
About
Search
Welcome to M-Files Empower – our new support experience. We'd love to hear what you think!Give feedback
Home/Support and troubleshooting/Troubleshooting/Error resolution

Unexpected error when logging in to an M-Files cloud vault with Salesforce add-in (embedded UI)

Last updated on 21 November 2025

Admin
M-Files for Salesforce

Overview

Users may encounter an "Unexpected error" from the M-Files Login Service when attempting to log in to an M-Files Cloud vault through the Salesforce add-in (embedded UI). The error appears like the one in the image below. Accessing the same vault directly via M-Files Web in a browser still works without issues.

A computer screen shot of a computer     AI-generated content may be incorrect.

In such cases, start by reviewing the settings outlined below before further troubleshooting.

Solution

Ensure that the Server URI setting in Salesforce is correctly configured and does not include, for example, an unnecessary trailing slash character. For detailed instructions, refer to Section 4.2, Step 4 of the document Installing and Configuring M-Files Add-in for Salesforce CRM.

Additionally, review the M-Files Salesforce add-in's CORS settings in the Advanced Vault Settings (AVS) and remove any trailing slashes or other extraneous characters. Use the reference image below for guidance.

Still need help?

On this page