<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Internal Server Error while trying to create Access Request using API in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-server-error-while-trying-to-create-access-request-using-api/m-p/12786784#M2024133</link>
    <description>&lt;P&gt;Hi, community,&lt;/P&gt;
  &lt;P&gt;I am trying to create an &lt;STRONG&gt;Access Request&lt;/STRONG&gt; in SAP IAG. I have tried all the possibilities but API kept on returning the below error&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;&amp;lt;!DOCTYPE html&amp;gt;&amp;lt;html&amp;gt;&amp;lt;head&amp;gt;&amp;lt;title&amp;gt;null&amp;lt;/title&amp;gt;&amp;lt;/head&amp;gt;&amp;lt;body&amp;gt;&amp;lt;h1&amp;gt;Internal Server Error&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;Please find the below CURL. (The OAuth Bearer token has been masked here)&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;curl --location 'https://grc-iag-eu10-grc-iag-core-eu10-java-rest-arqapi.cfapps.eu10.hana.ondemand.com/com/sap/grc/iag/service/eaccessrequest.svc/CreateRequestIAGInterface' \&lt;BR /&gt;--header 'Content-Type: application/json' \&lt;BR /&gt;--header 'Authorization: Bearer sIz1NWt5WCvyLXaclxfJEi35ydwH' \&lt;BR /&gt;--data-raw '{&lt;BR /&gt;    "priorityId": 1,&lt;BR /&gt;    "reasonCode": "PAM_LOG_REV_REQ",&lt;BR /&gt;    "requesttypeid": "CREATE",&lt;BR /&gt;    "userId": "P000165",&lt;BR /&gt;    "userFirstName": "John",&lt;BR /&gt;    "userLastName": "Doe",&lt;BR /&gt;    "userEmail": "john.doe@aquera.com",&lt;BR /&gt;    "managerId": "P000164",&lt;BR /&gt;    "iagAccessRequestedIF": [&lt;BR /&gt;        {&lt;BR /&gt;            "accessType": "SYS",&lt;BR /&gt;            "applicationType": "SCIM",&lt;BR /&gt;            "connector": "AQ_BOX",&lt;BR /&gt;            "action": "A"&lt;BR /&gt;        }&lt;BR /&gt;    ],&lt;BR /&gt;    "domian": "iag-dev"&lt;BR /&gt;}'&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;The token is valid because it's working for other APIs like retrieving the status of the Access Request etc. &lt;/P&gt;
  &lt;P&gt;Your assistant would be greatly appreciated.&lt;/P&gt;</description>
    <pubDate>Fri, 06 Oct 2023 13:06:11 GMT</pubDate>
    <dc:creator>jerry_waldorf</dc:creator>
    <dc:date>2023-10-06T13:06:11Z</dc:date>
    <item>
      <title>Internal Server Error while trying to create Access Request using API</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-server-error-while-trying-to-create-access-request-using-api/m-p/12786784#M2024133</link>
      <description>&lt;P&gt;Hi, community,&lt;/P&gt;
  &lt;P&gt;I am trying to create an &lt;STRONG&gt;Access Request&lt;/STRONG&gt; in SAP IAG. I have tried all the possibilities but API kept on returning the below error&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;&amp;lt;!DOCTYPE html&amp;gt;&amp;lt;html&amp;gt;&amp;lt;head&amp;gt;&amp;lt;title&amp;gt;null&amp;lt;/title&amp;gt;&amp;lt;/head&amp;gt;&amp;lt;body&amp;gt;&amp;lt;h1&amp;gt;Internal Server Error&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;Please find the below CURL. (The OAuth Bearer token has been masked here)&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;curl --location 'https://grc-iag-eu10-grc-iag-core-eu10-java-rest-arqapi.cfapps.eu10.hana.ondemand.com/com/sap/grc/iag/service/eaccessrequest.svc/CreateRequestIAGInterface' \&lt;BR /&gt;--header 'Content-Type: application/json' \&lt;BR /&gt;--header 'Authorization: Bearer sIz1NWt5WCvyLXaclxfJEi35ydwH' \&lt;BR /&gt;--data-raw '{&lt;BR /&gt;    "priorityId": 1,&lt;BR /&gt;    "reasonCode": "PAM_LOG_REV_REQ",&lt;BR /&gt;    "requesttypeid": "CREATE",&lt;BR /&gt;    "userId": "P000165",&lt;BR /&gt;    "userFirstName": "John",&lt;BR /&gt;    "userLastName": "Doe",&lt;BR /&gt;    "userEmail": "john.doe@aquera.com",&lt;BR /&gt;    "managerId": "P000164",&lt;BR /&gt;    "iagAccessRequestedIF": [&lt;BR /&gt;        {&lt;BR /&gt;            "accessType": "SYS",&lt;BR /&gt;            "applicationType": "SCIM",&lt;BR /&gt;            "connector": "AQ_BOX",&lt;BR /&gt;            "action": "A"&lt;BR /&gt;        }&lt;BR /&gt;    ],&lt;BR /&gt;    "domian": "iag-dev"&lt;BR /&gt;}'&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;The token is valid because it's working for other APIs like retrieving the status of the Access Request etc. &lt;/P&gt;
  &lt;P&gt;Your assistant would be greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2023 13:06:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-server-error-while-trying-to-create-access-request-using-api/m-p/12786784#M2024133</guid>
      <dc:creator>jerry_waldorf</dc:creator>
      <dc:date>2023-10-06T13:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Server Error while trying to create Access Request using API</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-server-error-while-trying-to-create-access-request-using-api/m-p/13928835#M2037755</link>
      <description>&lt;P&gt;Hello Jerry,&lt;/P&gt;&lt;P&gt;Have you solved this issue? We are encountering the same issue in creating Access Request through API.&lt;BR /&gt;Could you please help?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance,&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2024 10:41:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-server-error-while-trying-to-create-access-request-using-api/m-p/13928835#M2037755</guid>
      <dc:creator>Claudio7</dc:creator>
      <dc:date>2024-11-05T10:41:31Z</dc:date>
    </item>
  </channel>
</rss>

