It's all about the answers!

Ask a question

Why am I getting com.ibm.rdm.fronting.server.exception.GoneException retrieving some artifact revisions in DNG?


Robert Huet (2311455) | asked Feb 01 '18, 2:26 p.m.

I am using the REST API to retrieve the primary text from specific artifact revisions in DNG (6.0.4).


To get the revision URI links I use the published "resources" REST query with "history=true".  In the browser, these URI links will navigate to the revision text in the DNG UI.

However, if I use the following HTTP Request Headers, I can get the revision html content for some revisions:
Accept: application/rdf+xml
Content-Type: application/rdf+xml
DoorsRP-Request-Type: private
X-jazz-downstream-auth-client-level: 4.0

Unfortunately, some of the revisions are returning a 410 error (com.ibm.rdm.fronting.server.exception.GoneException).  Below are examples of the REST queries I'm making.  

Earliest revision (returns 200):
https://<server>/rm/resources/CA_5ca3b3c0f31441d8b126323a25d18311?revision=_D7c8wNWgEee4nLGNQw-vMw

Next revision for same artifact (returns 410).  However link will navigate to revision in UI, so it is not gone.
https://<server>/rm/resources/CAV_686888ad2d394926813f79096eecb628?revision=_o4RUINZsEee4nLGNQw-vMw

Be the first one to answer this question!


Register or to post your answer.