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

Use of M-Files Authentication for Certain Accounts when using the API

Last updated on 22 March 2023

Admin
REST API

Overview

Applications using the M-Files API may produce errors similar to:

Error in MFile_UploadFile: The remote server returned an error: (403) Forbidden…..

Encountered error while Processing MFile Upload : [directory]….

"Exception": {
        "Name": "UnauthorizedAccessException",
        "Message": "Login to vault failed"

In some instances, this is a result of relying on a login account synced from an external system (such as Azure AD), which can cause such issues if a password expired or the account is disabled.  There are times when the use of an M-Files Authenticated login account is not only appropriate but desired.

Solution

By using an M-Files authentication login account it will avoid needing to synchronize with external systems and not as subject to change.  Note that if your primary login account source is AD, you may need to have M-Files cloud operations assist in getting an M-Files account established. 

Still need help?

On this page