WCZRA5004E A problem occurred while removing artifact <file>.

Explanation

This error message indicates that Z Refactoring Assistant was unable to remove a program reference from the Project Artifacts view. <file> represents the program reference that was not removed successfully. In most cases, the error is a communication error caused by communication failures in the backend, network issues, or expired tokens.

System action

Z Refactoring Assistant reports the error message and fails to remove the program from the Project Artifacts view as expected.

User response

To fix the error, try with the following steps:
  1. Open your Visual Studio Code, select Help > Toggle Developer Tools from the menu bar on the header.
  2. In the Developer Tools window, click the Console tab.
  3. Identify the possible cause from the Console tab and fix the error.
  4. Try to remove the artifact again.
If you see a 401 unauthorized error indicating that the authentication token has expired, you must log into Z Refactoring Assistant again to re-authenticate. For other error codes, you might want to debug from the backend by consulting with your administrator who set up Z Refactoring Assistant.