IBM Support

Download asset with an API call gives "HTTP Error Code: 404"

Troubleshooting


Problem

When you use IBM® Rational® Asset Manager's (RAM) API called RAMAssetAccess to download an asset from the browser, the result is an HTTP Error Code: 404 error message.

Symptom

You can download assets in RAM through an API call (RAMAssetAccess) that you run from a browser.  To do so, use HTTP GET to download assets with web services as documented at Download an asset using HTTP GET.
However, when you use the API call RAMAssetAcces to download an asset with the following notation:
https://www.example.com:9080/ram.web.ws.was/RAMSecure/
RAMAssetAccess.jsp?assetid={alphanumeric_asset_id_of_asset}
&version=1
as in the following example: 
https://<IP_Address>:9443/ram.web.ws.was/RAMSecure
/RAMAssetAccess.jsp?assetid=
{TH1S-1S-A-DUMM3Y-A553T-ID-HERE}
&version=11
you get the following error message:
HTTP Error Code: 404

Error Message:
JSPG0036E: Failed to find resource /ram.web.ws.was/
RAMSecure/RAMAssetAccess.jsp

Root Cause:
java.io.FileNotFoundException: JSPG0036E: 
Failed to find resource 
/ram.web.ws.was/RAMSecure/RAMAssetAccess.jsp
The following screen capture shows the FileNotFoundException: JSPG0036E: Failed to find resource... error message in the browser:
image 9182

Document Location

Worldwide

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSUS84","label":"Rational Asset Manager"},"ARM Category":[{"code":"a8m0z000000bnGRAAY","label":"Rational Asset Manager-\u003EAPI"}],"ARM Case Number":"TS003824067","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Version(s)","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
21 April 2021

UID

ibm16234324