Your account does not have the group membershiAcceptps required to access the requested resource
Hi team,
I am using Restful API for creating Test case execution record in RQM 6.0.6.1.
I am using Mozilla rest client to request to the server. I can able to get the result for "GET and PUT" request, but when I create the request for POST api it is showing below error
"Your account does not have the group memberships required to access the requested resource"
I have all the permissions for the project area
I am using headers:
Content-Type:application/rdf+xml
Accept:application/xml
Also below is the URL to create new test case execution record with xml as input.
XML:
<?xml version="1.0" encoding="UTF-8"?>
<ns2:executionworkitem xmlns:ns2="http://jazz.net/xmlns/alm/qm/v0.1/" xmlns:ns1="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:ns3="http://schema.ibm.com/vega/2008/" xmlns:ns4="http://purl.org/dc/elements/1.1/" xmlns:ns5="http://jazz.net/xmlns/prod/jazz/process/0.6/"
xmlns:ns6="http://jazz.net/xmlns/alm/v0.1/" xmlns:ns7="http://purl.org/dc/terms/" xmlns:ns8="http://jazz.net/xmlns/alm/qm/v0.1/testscript/v0.1/" xmlns:ns9="http://jazz.net/xmlns/alm/qm/v0.1/executionworkitem/v0.1" xmlns:ns10="http://open-services.net/ns/core#"
xmlns:ns11="http://open-services.net/ns/qm#" xmlns:ns12="http://jazz.net/xmlns/prod/jazz/rqm/process/1.0/" xmlns:ns13="http://www.w3.org/2002/07/owl#" xmlns:ns14="http://jazz.net/xmlns/alm/qm/qmadapter/v0.1" xmlns:ns15="http://jazz.net/xmlns/alm/qm/qmadapter/task/v0.1"
xmlns:ns16="http://jazz.net/xmlns/alm/qm/v0.1/executionresult/v0.1" xmlns:ns17="http://jazz.net/xmlns/alm/qm/v0.1/catalog/v0.1" xmlns:ns18="http://jazz.net/xmlns/alm/qm/v0.1/tsl/v0.1/" xmlns:ns20="http://jazz.net/xmlns/alm/qm/styleinfo/v0.1/" xmlns:ns21="http://www.w3.org/1999/XSL/Transform">
<ns2:projectArea href="https://servername/qm/resource/itemOid/com.ibm.team.process.ProjectArea/_NSkOIAjWEe2pBf57pei2NA" alias="projectname" />
<ns4:title>PUT API Test </ns4:title>
<ns9:frequency>Once</ns9:frequency>
<ns9:regression>false</ns9:regression>
<ns9:weight>100</ns9:weight>
<ns2:testcase href="https://servername/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/projectname/testcase/urn:com.ibm.rqm:testcase:2597" />
</ns2:executionworkitem>
Can anyone help me onit?
Thanks
|
One answer
Ralph Schoon (63.6k●3●36●47)
| answered Jul 27 '22, 9:07 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited Jul 27 '22, 9:07 a.m. If you search for
There are several answers that hint that there are security measurements against cross site scripting attempts and which header you need to add to get around this.
|
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.