Metadata api request failed: invalid_locator: retrieve result has been deleted. - How to resolve this error?
I am getting this error after sf:retrieve requests status for my ant job to retrieve my metadata.
Error: {http://soap.sforce.com/2006/04/metadata}INVALID_LOCATOR - INVALID_LOCATOR: Retrieve result has been deleted.. Retrying...
SFDX: retrieve source in Manifest from org - Metadata API request failed: INVALID_LOCATOR: Retrieve result has been deleted
VS Code 1.59.0 - suddenly I cannot run "retrieve source in Manifest from org" command without failure: Metadata API request failed: INVALID_LOCATOR: Retrieve result has been deleted. Oddly, if the manifest ONLY contains the ApexTrigger type, it works fine.
Salesforce CLI Integration is v52.9.0
retrieve source in Manifest from org works fine for a different developer (same Org) using VS Code v1.47.3
Steps To Reproduce:
SFDX : Create new Project with Manifest, pick save folder
Trust the project folder
SFDX: Authorise an Org, select Sandbox, type name, log in Salesforce (SUCCESS)
Right click package.xml file in manifest folder, select SFDX: Retrieve Source in Manifest from Org
Expected result
SFDX: Retrieve Source from Org successfully ran
Actual result
Metadata API request failed: INVALID_LOCATOR: Retrieve result has been deleted.
Additional information
This seems to be a new problem, I didn't notice it until I applied the June 2021 version of VS Code. I do not know how to get more verbosity on the error message or if there is logging somewhere
Salesforce Extension Version in VS Code:
v52.9.0
SFDX CLI Version:
sfdx-cli/7.112.1 darwin-x64 node-v14.17.4
OS and version:
MacOS Cataline 10.16.6