Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Error while creating link between requirements in DNG using PUT method

 Hello All


We are trying to create link between Requirements through API, following reference article  https://jazz.net/library/ <wbr> article/1197  -> Adding and removing links section, 
I am getting an error of Precondition failed while creating link between requirements.


<rdf:RDF
    xmlns:rdf="http://www.w3. <wbr> org/1999/02/22-rdf-syntax-ns#"
    xmlns:err="http://jazz. <wbr> net/xmlns/prod/jazz/ <wbr> foundation/1.0/">
    <rdf:Description>
        <err:detailedMessage r <wbr> df:datatype="http://www.w3. <wbr> org/2001/XMLSchema#string"
    >com.ibm.rdm.fronting. <wbr> server.exception. <wbr> PreconditionFailedException</e <wbr> rr:detailedMessage>
        <err:errorMessage rdf: <wbr> datatype="http://www.w3.org/ <wbr> 2001/XMLSchema#string"
    >Precondition Failed</err: <wbr> errorMessage>
        <err:errorStatus rdf: <wbr> datatype="http://www.w3.org/ <wbr> 2001/XMLSchema#long"
    >412</err:errorStatus>
    </rdf:Description>
</rdf:RDF> 

This is I am trying through PostMan..

Can you Please suggest me above error.

Thanks
Monali

0 votes

Comments

 Are you copying the etag from GET of the artifact into the PUT? This is required to ensure you're updating the same version as you got.

Also, what type of link are you trying to add?


Be the first one to answer this question!

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,937

Question asked: Oct 01 '20, 4:54 a.m.

Question was seen: 844 times

Last updated: Oct 01 '20, 11:31 a.m.

Confirmation Cancel Confirm