gl-vsts-tasks-azure icon indicating copy to clipboard operation
gl-vsts-tasks-azure copied to clipboard

#[error]Unhandled: Cannot read property 'id' of undefined

Open kmahmou opened this issue 6 years ago • 3 comments

Hello,

Sometimes y got this error : « #[error]Unhandled: Cannot read property 'id' of undefined »

and sometimes this one : “##[error]Error: C:\MyAgent\externals\azcopy\azcopy.exe failed with return code: 3”.

Do you have any idea about thes isssues ?

thanks in advance. Khaled

kmahmou avatar May 16 '19 15:05 kmahmou

Only sometimes? We could use a bit more logs and details to look at what is going on.

sandorfr avatar Oct 12 '19 04:10 sandorfr

Hi @sandorfr

I am also getting the Unhandled: Cannot read property 'id' of undefined error in a release pipeline.

I have been able to successfully copy from a pipeline artifact to an Azure storage container but when attempting to copy a container from Azure storage to a destination on the pipeline artifact we observe the above error.

the log-level is set to INFO and the above is all that is outputted. Here is a screen grab -

image

task version: 1.4.2999

Is there anything else I can send you to help with this issue?

Thanks David

davidmcgowan avatar Apr 07 '20 10:04 davidmcgowan

I am getting exactly the same error trying to copy a blob container from one storage account to another, not getting more output than this either.

Edit: tested further and i get this when i provide an invalid principal that doesn't have the required permissions. Fixed it by using the right one.

jcageman avatar Jun 02 '21 07:06 jcageman