# SAP - Workflows Error 400

**URL:** <https://developer.sailpoint.com/discuss/t/sap-workflows-error-400/34667>\
**Category:** SHF Discussion and Questions\
**Tags:** workflows\
**Created:** [March 9, 2024, 5:24pm UTC](https://developer.sailpoint.com/discuss/t/sap-workflows-error-400/34667 "2024-03-09T17:24:13Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![kaiolima](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/kaiolima/32/7226_2.png) [@kaiolima](https://developer.sailpoint.com/discuss/u/kaiolima)\
**Post date:** [March 9, 2024, 5:24pm UTC](https://developer.sailpoint.com/discuss/t/sap-workflows-error-400/34667/1 "2024-03-09T17:24:13Z")

</div>

Hello,

I’m experiencing a problem in which we created a flow so that employees could request the unlocking of accounts in the communications center at idn, but this flow is giving an error and when we go to see the status it remains pending, I wanted to know where it is this error and what could I do to reverse it

 ![1](https://global.discourse-cdn.com/sailpoint/original/2X/6/617abc18a18bd4b1b105b36ba794031cbafed428.png)  
 ![2](https://global.discourse-cdn.com/sailpoint/original/2X/e/effb661019af8eac3680ca6a81f68711e4f90a4a.png)  
 ![3](https://global.discourse-cdn.com/sailpoint/original/2X/d/d04c01c86003639675d49204806f67cc872286f6.png)  
 ![4](https://global.discourse-cdn.com/sailpoint/original/2X/6/6b265cc0c55f455ce464bb34a6d687ac92423d07.png)  
[SAPBWPRDReativacaodeConta20240309 (4).json](https://developer.sailpoint.com/discuss/uploads/short-url/jbGyUXxBmxCFshGnODchEkE6lFA.json) (6,9,KB)

---

<div class="post-metadata">

**Author:** ![uday\_kilambi](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/uday_kilambi/32/31482_2.png) [@uday\_kilambi](https://developer.sailpoint.com/discuss/u/uday_kilambi)\
**Post date:** [March 11, 2024, 8:39am UTC](https://developer.sailpoint.com/discuss/t/sap-workflows-error-400/34667/2 "2024-03-11T08:39:16Z")

</div>

Hi @kaiolima ,

The format you provided as input for Manage access is wrong. It should be in the below format to have it worked

```
    {
        "id":"technicalID",
        "name":"accessItemName",
        "type":"ACCESS_PROFILE"
    }

```

Regards,  
Uday

---

<div class="post-metadata">

**Author:** ![kaiolima](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/kaiolima/32/7226_2.png) [@kaiolima](https://developer.sailpoint.com/discuss/u/kaiolima)\
**Post date:** [March 11, 2024, 1:31pm UTC](https://developer.sailpoint.com/discuss/t/sap-workflows-error-400/34667/3 "2024-03-11T13:31:45Z")

</div>

Hi Uday, thanks for the support. But where did you see this information exactly, would it be in the first image?

---

<div class="post-metadata">

**Author:** ![kaiolima](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/kaiolima/32/7226_2.png) [@kaiolima](https://developer.sailpoint.com/discuss/u/kaiolima)\
**Post date:** [March 11, 2024, 1:41pm UTC](https://developer.sailpoint.com/discuss/t/sap-workflows-error-400/34667/4 "2024-03-11T13:41:28Z")

</div>

I believe this is where you found it.

 ![AA](https://global.discourse-cdn.com/sailpoint/original/2X/a/a07dc750f80e02e146c39f8ae794ffcfee26fad5.png)

---

<div class="post-metadata">

**Author:** ![uday\_kilambi](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/uday_kilambi/32/31482_2.png) [@uday\_kilambi](https://developer.sailpoint.com/discuss/u/uday_kilambi)\
**Post date:** [March 11, 2024, 2:37pm UTC](https://developer.sailpoint.com/discuss/t/sap-workflows-error-400/34667/5 "2024-03-11T14:37:10Z")

</div>

You can retrieve the access profile name if it is present in your trigger i.e., Access Request decision. Use the name to get the actual object access profile object by using Get Access action. For “get access” action, you can use the access profile id or name as the search input e.g. name.exact == “”. Use the result of this object which is the needed format as your “Manage Access” step input like $.getAccess.accessItems[0].

I did a similar case in my organization, which worked well

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/sailpoint/original/2X/f/f2136700ed5e3703e0b85e02f6be799dacca7735.png) [@system](https://developer.sailpoint.com/discuss/u/system)\
**Post date:** [May 10, 2024, 2:38pm UTC](https://developer.sailpoint.com/discuss/t/sap-workflows-error-400/34667/6 "2024-05-10T14:38:05Z")

</div>

Closed on May 10, 2024, 2:38pm UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
