Export UiPath Video Logs

I want to take the videos recorded by the bot when it runs jobs and export them to my own S3 since they expire after 7 days and going thru the logs in the Orchestrator UI to look at the videos is very inconvenient. Also as of 2021 UiPath Automation Cloud is SOC 2 Type 2 compliant but does this apply to the logs and videos if I want them sent to me?

@Sebastien_Bolh

Welcome to the community

There is not direct way to upload…but you can use orchestrator api …under execution media we have a downlod option…we can download and upload them to s3 via a bot or any integration tool

<orchestratorURL>/swagger/index.html

Cheers

1 Like

Hi Anil, thanks for your response. Theres still a piece missing though.

I am getting my job using the api (it is a job i KNOW has a recording because I can see it in orchestrator), and the return object contains an “Id” which is a number that I am trying to use as the jobId in a GET with this URL:
{{cloudUrl}}/{{cloudOrg}}/{{cloudTenant}}/odata/ExecutionMedia/UiPath.Server.Configuration.OData.DownloadMediaByJobId(jobId=XXXXXXXX)

But no matter which job I seem to give, I get the same response:
{
“message”: “There is no execution media associated with the job.”,
“errorCode”: 2201,
“traceId”: “00-4623gx159e78be8d346kr01e6d9b9b4c-12346ea01fd0d1bc-00”
}

Am I getting the jobId from the wrong place? in the logs the jobId is a uuid so it doesnt work for getting the media because it expects a number, which is why I got the jobId by getting this job and using the Id field of the returned object. But it never finds the video… what can i do?

@Anil_G forgot to @ you

@Sebastien_Bolh

looks like an issue with api.I tried with get to check if anything is coming but I dont see any there

@loginerror @loredana_ifrim can @Adrian_Tamas if you can look into this

getexecutionmedia api is giving null response

cheers

1 Like

@Anil_G @Sebastien_Bolh

May I know if the issue is already resolved or not? because mine also happen to be the same error

Have you tried using the general GET endpoint to see what you have there?
/odata/ExecutionMedia
This should list all, with associated JobId for each. If you then use that in the
/odata/ExecutionMedia/UiPath.Server.Configuration.OData.DownloadMediaByJobId(jobId={jobId})
and it doesn’t return anything (and the permissions are set correctly), then it’s still a bug.

@andrzej.kniola

I already tried the general Get endpoint odata/ExecutionMedia, the respond code is 200 but there is no value from response body

{
“odata.context”: “UiPath”,
“odata.count”: 0,
“value”:
}

I can download and view from orchestrator directly.

is it something wrong with the API or is there any toggle to give access to download the media direct from API?

I’m not aware of any additional toggle. Looks like it’s either straight up not working, or there’s something very unclear in how it needs to be set up to work.
So either a code bug, or a documentation bug → regardless, something that should be addressed.

@andrzej.kniola

Is there any platform or someone that I can ask to get an answer directly, or is there any work around?

Hi @Saiful

Are you on enterprise version?

If yes, you can raise a support ticket to UiPath using below link

Regards
Sonali

1 Like