Welcome to the Alteryx Knowledge Base

SharePoint Files Unified Connector: "The resource you are attempting to access is locked" when overwriting a file
user

Created/Edited - 7/21/2026 by Clara Boo | Alteryx

Issue

Overwriting an Excel file in SharePoint Files Unified Connector fails with the following error:

 

Writing data to the connector service failed. Message: ... A failed with status code 423 Error: {"error":{"code":"notAllowed","innerError":{"code":"resourceLocked"},"message":"The resource you are attempting to access is locked"}}'

 

 

 

Environment
  • Alteryx Designer
    • Version >= 2025.1
  • SharePoint Files Unified Connector
    • Version >= 3.1.0


Cause

The error occurs if the Excel file in SharePoint is opened or is being locked by another resource while the workflow is running. 

 

Resolution

To address this, close the Excel file if it is open in SharePoint and rerun the workflow. If another resource or process locks the file, please wait until the lock is released or the process has ended before rerunning the workflow.


In the older SharePoint Files tool (version <= 3.1.0), you need to wait 15 minutes after closing the Excel file, but this is no longer necessary in the unified connector. 

 

Additional Information

For the SharePoint Files Tool, please refer to the following article instead:

 

Was this article helpful?