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/Common problems

Google Workspace Error When Saving Email

Last updated on 6 December 2023 · 1 min read

Admin
M-Files for Google Workspace

Overview

The error occurs when saving an email in Google Workspace

Sample Case

But when trying to save email to M-Files, we get the below error.

image.png

Error message from the Dev Tools Console:

js_contentscripts_gmail.js:23 GoomfiDebug --- 1234567890 --- [{"tag":"background script answered","response":{"error":{"config":{"status":403,"action":"REFRESH_GOOGLE_TOKEN","service":"MFILES","vaultname.cloudvault.m-files.com","guid":"{<vaultguid>}"},"message":"403: Login to vault failed","response":{"Status":403,"URL":"/objects/0/classes","Method":"GET","Exception":{"Name":"UnauthorizedAccessException","Message":"Login to vault failed"},"Stack":"Error reference ID: 43c56d89-8471-4374-b60d-29321fdd7322","Message":"Login to vault failed","IsLoggedToVault":false,"IsLoggedToApplication":false,"ExceptionName":"UnauthorizedAccessException"}}}}]

js_contentscripts_gmail.js:23 GoomfiDebug --- 1234567890 --- [{"response":{"error":{"config":{"status":403,"action":"REFRESH_GOOGLE_TOKEN","service":"MFILES","host":" vaultname.cloudvault.m-files.com ","guid":"{<vaultguid>}"},"message":"403: Login to vault failed","response":{"Status":403,"URL":"/objects/0/classes","Method":"GET","Exception":{"Name":"UnauthorizedAccessException","Message":"Login to vault failed"},"Stack":"Error reference ID: 43c56d89-8471-4374-b60d-29321fdd7322","Message":"Login to vault failed","IsLoggedToVault":false,"IsLoggedToApplication":false,"ExceptionName":"UnauthorizedAccessException"}}}}]

js_contentscripts_gmail.js:23 GoomfiDebug --- 1234567890 --- [{"msg":"Something went wrong with vault change API calls. Vault not changed.","errorObj":{"config":{"config":{"status":403,"action":"REFRESH_GOOGLE_TOKEN","service":"MFILES","host":" vaultname.cloudvault.m-files.com ","guid":"{<vaultguid>}"},"message":"403: Login to vault failed","response":{"Status":403,"URL":"/objects/0/classes","Method":"GET","Exception":{"Name":"UnauthorizedAccessException","Message":"Login to vault failed"},"Stack":"Error reference ID: 43c56d89-8471-4374-b60d-29321fdd7322","Message":"Login to vault

Cause and Reason

  • Root Cause: Google Workspace authentication configuration logic in M-Files has been changed in April -release (version 23.4).
  • Resolution: Configuring it in a new way helps and does not break normal user logins to the M-Files vault.

Solution

Confirm under the authentication configuration what is set as it now needs to define Google SSO specifically as the default authentication.

image.png

Still need help?