Groovy error "A method called by the line failed" when trying to integrate with EDMCS
This groovy script has been created in order to export metadata from EDMCS and import it into Planning. But it still gets an error saying that "A method called by the line failed," which points to the line mentioned in the screenshot.
This error persists even after changing the version of the API to the latest version, v3. This code fails in this line when the version is reverted back to v1 and not v3.
Version (include the version you are using, if applicable):
Used the API version v3.
Code Snippet (add any code snippets that support your topic, if applicable):