Welcome to the Alteryx Knowledge Base
Created/Edited -
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"}}'
- Alteryx Designer
- Version >= 2025.1
- SharePoint Files Unified Connector
- Version >= 3.1.0
The error occurs if the Excel file in SharePoint is opened or is being locked by another resource while the workflow is running.
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.
For the SharePoint Files Tool, please refer to the following article instead: