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

Plain Java API : findWorkItemById() is throwing CRJAZ2942E A request from this server to another server could not be completed. The other server returned a 406 HTTP error with this error text: Not Acceptable.

Hi Team,


We are using findWorkItemById() method from com.ibm.team.workitem.common.internal.WorkItemCommon class. This API is working fine for most of the workitems however it is failing for few worktiems with the following error:

CRJAZ2942E A request from this server to another server could not be completed. The other server returned a 406 HTTP error with this error text: Not Acceptable.

I have tried to check if there are any differences in the workitems, but there are no differences from the ones that are working with the ones throwing this exception.

I tried the API with workItemClient.findWorkItemById(CrId, IWorkItem.FULL_PROFILEmonitor); DEFAULT_PROFILE and SMALL_PROFILE
in all 3 cases it is failing for the same workitems with the above error.

What could have gone wrong here ? Please assist. 

Thanks in advance.

0 votes


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
× 11,074
× 7,592
× 1,422

Question asked: Jun 16, 3:10 a.m.

Question was seen: 512 times

Last updated: Jun 16, 3:10 a.m.

Related questions
Confirmation Cancel Confirm