Question

qcommand or the CS view which contains the information for GET Failed Items in a Job (API)


Userlevel 2
Badge +9

I would to get the list of failed items (details) using cli/ SQL command 

I’m trying to create an event/ custom report for whichever option which reports more than 0 failed items and trying to gather the details per job.

 

The cli/ Commserve Table/View that’s equivalent to the following API

 

https://documentation.commvault.com/2024/essential/get_failed_items_in_job.html

GET <webservice>/Job/{{jobId}}/FailedItems

Host: <host name>

Accept: application/json

Authtoken: <authentication token>

 

or the table/view where this API is fetching the data

 

 

Thanks in advance.

 


3 replies

Userlevel 5
Badge +12

@alligator ,

The database only contains how many files failed not the list of failed files. If you want to generate a list of failed files you will need to make a REST API call using this api https://documentation.commvault.com/2023e/expert/get_failed_items_in_job.html.

Regards,

Edward J Holowienka

Userlevel 2
Badge +9

@HolowEd Thanks for the response.

How is the API getting that info?

I’m trying to build a custom report, so is there any way to get this information in any dataset ?

Userlevel 5
Badge +12

@alligator ,

The information actually comes from the client. The is a file in the jobresults directory that is queried for this information. The only thing is the file is only kept for about 7 days and then it is removed from the client.

Regards

Edward J Holowienka

Reply