# Error 400 Workflow

**URL:** <https://developer.sailpoint.com/discuss/t/error-400-workflow/36392>\
**Category:** SHF Discussion and Questions\
**Tags:** workflows\
**Created:** [March 21, 2024, 1:26am UTC](https://developer.sailpoint.com/discuss/t/error-400-workflow/36392 "2024-03-21T01:26:03Z")\
**Posts on this page:** 4\
**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 21, 2024, 1:26am UTC](https://developer.sailpoint.com/discuss/t/error-400-workflow/36392/1 "2024-03-21T01:26:03Z")

</div>

Hello, I have a problem with some workflows, and this 400 error is the same for all of them, it was recommended that I create a new workflow with a valid owner, as the owner who was created is no longer in the company, it was also recommended to following change.

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

```

I am putting this information in lines 256,257 and 258 but it is generating this error.

![AAA](https://global.discourse-cdn.com/sailpoint/original/2X/2/2da17ce67a54134eb5bb23f549aada5a617af9f4.png)  
 ![Verificar SAP1](https://global.discourse-cdn.com/sailpoint/original/2X/4/49806b63fa757de1b1155aa7e76ca330d48b5ad8.png)  
[SAPECCQASReativacaodeConta20240320 (1).json](https://developer.sailpoint.com/discuss/uploads/short-url/yVGZGs39bxy3mJFkVKlbBVgi7px.json) (7,1,KB)

---

<div class="post-metadata">

**Author:** ![REKHASACH](https://avatars.discourse-cdn.com/v4/letter/r/9dc877/32.png) [@REKHASACH](https://developer.sailpoint.com/discuss/u/REKHASACH)\
**Post date:** [March 28, 2024, 7:49am UTC](https://developer.sailpoint.com/discuss/t/error-400-workflow/36392/2 "2024-03-28T07:49:55Z")

</div>

Each workflow should have valid owner against which will facililate validation of clientId and ClientSecret to generate the HTTP token.

The only solution is to create new workflow with valid owner  
You can download the script and upload the script with new owner to create new workflow.  
But if you upload the script in existing workflow, issue won’t get resolved.

---

<div class="post-metadata">

**Author:** ![ipobeidi](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/ipobeidi/32/16000_2.png) [@ipobeidi](https://developer.sailpoint.com/discuss/u/ipobeidi)\
**Post date:** [March 28, 2024, 7:46pm UTC](https://developer.sailpoint.com/discuss/t/error-400-workflow/36392/3 "2024-03-28T19:46:53Z")

</div>

@kaiolima so alterar o owner, coloca como solução aqui pro pai.

Just change the owner

---

<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 27, 2024, 7:47pm UTC](https://developer.sailpoint.com/discuss/t/error-400-workflow/36392/4 "2024-05-27T19:47:55Z")

</div>

Closed on May 27, 2024, 7:47pm UTC

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