narrowizard opened a new issue, #8274: URL: https://github.com/apache/incubator-devlake/issues/8274
### Search before asking - [x] I had searched in the [issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and found no similar issues. ### What happened When synchronizing data from Zentao using DevLake, an error occurs with the message: ``` Error running pipeline 302431. Wraps: (2) Error running task 444478.1. Wraps: (2) Subtask collectExecutions ended unexpectedly. Wraps: (3) Retry exceeded 3 times calling /executions/7. The last error was: Http DoAsync error calling [method: GET, path: /executions/7, query: map[limit:[0], page:[1]]. Response: ("error": "error") (400). ``` Upon investigation: The execution with ID 7 no longer exists in the target project (verified through the /project/{project_id}/executions API). However, this ID is still present in the tool table of the database, suggesting it may be stale data. Attempting to trigger the Blueprint task with `fullSync: true` also did not resolve the issue. ### What do you expect to happen When triggering synchronization or Blueprint tasks, the system should: Validate the existence of execution data in the target platform (Zentao). Ignore or clean up stale data from the database to avoid errors. Complete the synchronization process without failure. ### How to reproduce 1. Set up a DevLake integration with Zentao. 2. Perform the initial data synchronization from Zentao to DevLake. 3. Delete an execution (e.g., execution ID 7) from the Zentao project. 4. Trigger synchronization again in DevLake. 5. Observe the error message: /executions/7 Request Failed. ### Anything else _No response_ ### Version release-v1.0 ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@devlake.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org