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

HTTP 400 error with RQM CopyUtility

Hi All,

I am using RQM copy utility (https://jazz.net/wiki/bin/view/Main/RQMCopyUtility) to copy project in RQM v2.0.0.1 iFix01.

I tried to copy the project as per the article but got 400 error in the log.

Then I tried to open the link "https://localhost:9443/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/" manually.

I could open the page "https://localhost:9443/jazz/secure/service" and I could see the link for "com.ibm.rqm.integration.service.IIntegrationService" in the page. But when I click on it, I got below error.
------------------------
HTTP Status 400 -

type Status report

message

description The request sent by the client was syntactically incorrect ().
Apache Tomcat/5.5.23
--------------------------

Hope someone can share any idea for this problem. :P

0 votes



2 answers

Permanent link
Unfortunately return codes 400 and 500 are overused/abused a lot in the REST API so they aren't as precise as I'd like.
If you're getting a 400 right out of the gate then I'd verify:
1) the URL. Look for typos.
2) the project area name. Does it exist? Typos? Was the project ever renamed (you need to use the "alias" - the original name)?
3) username / password - should get a "forbidden" but I've seen other behavior at times.

Try to construct a full URL - including an artifact type (i.e. .../resources/testcase) - and paste that into a browser to verify you get a feed.

Regards,
John

Hi All,

I am using RQM copy utility (https://jazz.net/wiki/bin/view/Main/RQMCopyUtility) to copy project in RQM v2.0.0.1 iFix01.

I tried to copy the project as per the article but got 400 error in the log.

Then I tried to open the link "https://localhost:9443/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/" manually.

I could open the page "https://localhost:9443/jazz/secure/service" and I could see the link for "com.ibm.rqm.integration.service.IIntegrationService" in the page. But when I click on it, I got below error.
------------------------
HTTP Status 400 -

type Status report

message

description The request sent by the client was syntactically incorrect ().
Apache Tomcat/5.5.23
--------------------------

Hope someone can share any idea for this problem. :P

0 votes


Permanent link
Hi

Could you fix this problem? I'm facing the same problem and I don't know how to proceed. The error log is not clear, I cannot identify what is wrong.

Please help.
Thank you

0 votes

Comments

You do know that this is a five-year-old post, don't you? As mentioned in the previous answer, HTTP 400 error is usually caused by a command line syntax error (the way you use the tool), rather than the tool itself.

Yes, I do! This is the reason why I'm questioning, an old post but no answer or solution.
The purpose of a tool is to speed up the manual process, but instead of helping this tool brings me more problems... How come a tool display a generic error messagem, without any explanation about what is really wrong? Right now, what I'm trying to do a trial and error process until I get any meaningful result and as I could notice what is wrong seems to be the project name. Actually it is used the project alias which is not the same of a project name. I'm still trying to figure out where to find that.
If you can, please help.

 Bruno,

I don't want to speak for Don but I believe his point was given the age of this this thread it may be best to summary your current issue is a separate thread so that it can be evaluated by the Jazz user community
For this type if issue include the following
  • The Version of QM you are using
  • The version of the copy utility you are using
  • The syntax of the command you are trying to run
  • The error message in the log  
Thanks

Your answer

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

Question asked: Dec 22 '09, 10:19 p.m.

Question was seen: 6,539 times

Last updated: Apr 01 '15, 7:18 a.m.

Confirmation Cancel Confirm