NetWorker RESTAPI: Querying JOBS returns "code: 404, message: Resource 'JOBID' is not found."

摘要: NetWorker REST Application Programming Interface (API) GET requests to the jobsdb and it is returning HTTP 404 (Not Found)

本文适用于 本文不适用于 本文并非针对某种特定的产品。 本文并非包含所有产品版本。

症状

URLs were being queried based off of output collected prior to when the jobsdb was flushed.
 

  • You are attempting to query the NetWorker jobs database (jobsdb) with RESTAPI, and it is returning the following:
https://NETWORKER_SERVER_NAME:9090/nwrestapi/v3/global/jobs/JOBID

{
    "message": "Resource '480702' is not found.",
    "status": {
        "code": 404,
        "codeClass": "Client Error",
        "reasonPhrase": "Not Found"
    },
    "timestamp": "YYYY-MM-SSTHH:mm:SS-TZ",
    "userAgentRequest": {
        "headers": [
            {
                "name": "Accept",
               "value": "*/*"
            },
            {
                "name": "Content-Type"
            }
        ],
        "method": "GET",
        "url": "https://lnx-client01.emclab.local:9090/nwrestapi/v3/global/jobs/480702"
    },
    "version": "x.x.x.x.Build.xxx"
}

原因

By default the NetWorker server retains job info in the jobsdb for 72 hours. The job being queried completed over 72 hours ago and the NetWorker "Server Protection" policy has run. The Server backup policy includes an expiration action that clears expired save sets from the media database and removes jobs older than the jobsdb retention period. 

解决方案

Expected behavior, jobs can be queried only if they are still in the jobsdb

REST API documentation is available through: https://developer.dell.com/apis/2378/versions/v3/docs/GettingStarted.md

受影响的产品

NetWorker

产品

NetWorker
文章属性
文章编号: 000054099
文章类型: Solution
上次修改时间: 24 6月 2025
版本:  4
从其他戴尔用户那里查找问题的答案
支持服务
检查您的设备是否在支持服务涵盖的范围内。