It's all about the answers!

Ask a question

HTTP 400 error with RQM CopyUtility


Frank Yuan (6121) | asked Dec 22 '09, 10:19 p.m.
JAZZ DEVELOPER
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

2 answers



permanent link
John Nason (2.4k1012) | answered Dec 23 '09, 3:02 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
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

permanent link
Bruno Fazoli (856) | answered Mar 31 '15, 1:54 p.m.
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

Comments
Donald Nong commented Mar 31 '15, 7:13 p.m.

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.


Bruno Fazoli commented Apr 01 '15, 7:07 a.m.

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.


Ara Masrof commented Apr 01 '15, 7:18 a.m.
JAZZ DEVELOPER

 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 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.