Hi,
I can't seem to get the reason text when asking the VEM API.
I was excepting to get the reason text which normally explain the errors if the job or task failed.
/backupSessions/{ID} doesn't list the field
/backupTaskSessions/{ID} list the field but it's empty
Is this expected behaviour ?
The most accurate would be to get the sessionlog for the backupsession and the task, but that doesn't seem to be possible.
-
- Service Provider
- Posts: 175
- Liked: 26 times
- Joined: Feb 13, 2017 2:56 pm
- Full Name: Henrik Grevelund
- Contact:
Enterprise Manager API BackupSession & Tasksession reason field
Have nice day,
Henrik
Henrik
-
- Veeam Software
- Posts: 2015
- Liked: 671 times
- Joined: Sep 25, 2019 10:32 am
- Full Name: Oleg Feoktistov
- Contact:
Re: Enterprise Manager API BackupSession & Tasksession reason field
Hi Henrik,
With /backupSessions/{ID} it's expected, we didn't have reason property there. With /backupTaskSessions/{ID} looks like a bug.
I would advise using VBR REST API though, where session logs are already available and task session logs are planned to be added soon.
Best regards,
Oleg
With /backupSessions/{ID} it's expected, we didn't have reason property there. With /backupTaskSessions/{ID} looks like a bug.
I would advise using VBR REST API though, where session logs are already available and task session logs are planned to be added soon.
Best regards,
Oleg
-
- Service Provider
- Posts: 175
- Liked: 26 times
- Joined: Feb 13, 2017 2:56 pm
- Full Name: Henrik Grevelund
- Contact:
Re: Enterprise Manager API BackupSession & Tasksession reason field
Hi Oleg,
I liked your answer here better
:
restful-api-f30/vbr-api-sessionlogs-and ... 94305.html
Thanks.
I liked your answer here better

restful-api-f30/vbr-api-sessionlogs-and ... 94305.html
Thanks.
Have nice day,
Henrik
Henrik
-
- Veeam Software
- Posts: 2015
- Liked: 671 times
- Joined: Sep 25, 2019 10:32 am
- Full Name: Oleg Feoktistov
- Contact:
Re: Enterprise Manager API BackupSession & Tasksession reason field
Yeah, looks more hopeful 

Who is online
Users browsing this forum: No registered users and 2 guests